From a4fc8b7409c9f702af787e02db37e0d4e3609624 Mon Sep 17 00:00:00 2001 From: "David J. Felix" Date: Wed, 8 Jul 2020 16:23:23 -0400 Subject: [PATCH] docs/provider: Use 0.12 interpolation syntax The examples used <0.12 interpolation syntax which made them more verbose than necessary. --- website/docs/r/route53_zone.html.markdown | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/website/docs/r/route53_zone.html.markdown b/website/docs/r/route53_zone.html.markdown index 87da2694d15..b50dbeec2a1 100644 --- a/website/docs/r/route53_zone.html.markdown +++ b/website/docs/r/route53_zone.html.markdown @@ -40,17 +40,11 @@ resource "aws_route53_zone" "dev" { } resource "aws_route53_record" "dev-ns" { - zone_id = "${aws_route53_zone.main.zone_id}" + zone_id = aws_route53_zone.main.zone_id name = "dev.example.com" type = "NS" ttl = "30" - - records = [ - "${aws_route53_zone.dev.name_servers.0}", - "${aws_route53_zone.dev.name_servers.1}", - "${aws_route53_zone.dev.name_servers.2}", - "${aws_route53_zone.dev.name_servers.3}", - ] + records = aws_route53_zone.dev.name_servers } ``` @@ -65,7 +59,7 @@ resource "aws_route53_zone" "private" { name = "example.com" vpc { - vpc_id = "${aws_vpc.example.id}" + vpc_id = aws_vpc.example.id } } ```