From 25f784a0fd20e71976dd93ee71e2f0ebbd81eac6 Mon Sep 17 00:00:00 2001 From: Anton Dollmaier Date: Tue, 8 Dec 2020 17:44:04 +0100 Subject: [PATCH] Improve Docs: Terraform 0.12 syntax of example minor change: updated example to use [First-class expressions](https://www.terraform.io/upgrade-guides/0-12.html#first-class-expressions) from Terraform 0.12. --- website/docs/index.html.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/index.html.markdown b/website/docs/index.html.markdown index ffd9882c5..64750ebcd 100644 --- a/website/docs/index.html.markdown +++ b/website/docs/index.html.markdown @@ -52,9 +52,9 @@ resource "aws_db_instance" "default" { # Configure the MySQL provider based on the outcome of # creating the aws_db_instance. provider "mysql" { - endpoint = "${aws_db_instance.default.endpoint}" - username = "${aws_db_instance.default.username}" - password = "${aws_db_instance.default.password}" + endpoint = aws_db_instance.default.endpoint + username = aws_db_instance.default.username + password = aws_db_instance.default.password } # Create a second database, in addition to the "initial_db" created