From cc333ab876880b1609e556911cf9171a91ce002c Mon Sep 17 00:00:00 2001 From: The Magician Date: Fri, 4 Jan 2019 13:36:12 -0800 Subject: [PATCH] Restore the deprecated list splat syntax. (#314) /cc @rileykarson --- google-beta/resource_compute_instance_group_test.go | 6 +++--- website/docs/r/compute_router_nat.html.markdown | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/google-beta/resource_compute_instance_group_test.go b/google-beta/resource_compute_instance_group_test.go index 74f79e98668..647b0df21c4 100644 --- a/google-beta/resource_compute_instance_group_test.go +++ b/google-beta/resource_compute_instance_group_test.go @@ -484,7 +484,7 @@ func testAccComputeInstanceGroup_update(instance string) string { description = "Terraform test instance group" name = "%s" zone = "us-central1-c" - instances = "${google_compute_instance.ig_instance.*.self_link}" + instances = ["${google_compute_instance.ig_instance.*.self_link}"] named_port { name = "http" port = "8080" @@ -526,7 +526,7 @@ func testAccComputeInstanceGroup_update2(instance string) string { description = "Terraform test instance group" name = "%s" zone = "us-central1-c" - instances = "${google_compute_instance.ig_instance.*.self_link}" + instances = ["${google_compute_instance.ig_instance.*.self_link}"] named_port { name = "http" @@ -570,7 +570,7 @@ func testAccComputeInstanceGroup_recreateInstances(instance string) string { description = "Terraform test instance group" name = "%s" zone = "us-central1-c" - instances = "${google_compute_instance.ig_instance.*.self_link}" + instances = ["${google_compute_instance.ig_instance.*.self_link}"] named_port { name = "http" port = "8080" diff --git a/website/docs/r/compute_router_nat.html.markdown b/website/docs/r/compute_router_nat.html.markdown index eb5af3b729e..6dc57b4d8b7 100644 --- a/website/docs/r/compute_router_nat.html.markdown +++ b/website/docs/r/compute_router_nat.html.markdown @@ -83,7 +83,7 @@ resource "google_compute_router_nat" "advanced-nat" { router = "${google_compute_router.router.name}" region = "us-central1" nat_ip_allocate_option = "MANUAL_ONLY" - nat_ips = "${google_compute_address.address.*.self_link}" + nat_ips = ["${google_compute_address.address.*.self_link}"] source_subnetwork_ip_ranges_to_nat = "LIST_OF_SUBNETWORKS" subnetwork { name = "${google_compute_subnetwork.subnetwork.self_link}"