Restore the deprecated list splat syntax. (#2801)

<!-- This change is generated by MagicModules. -->
/cc @rileykarson
This commit is contained in:
The Magician 2019-01-04 13:36:10 -08:00 committed by Riley Karson
parent 50af33999e
commit 48a2cf8a27
2 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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}"