Skip to content

Commit

Permalink
[Terraform]: Restore the deprecated list splat syntax. (#1156)
Browse files Browse the repository at this point in the history
Merged PR #1156.
  • Loading branch information
rileykarson authored and modular-magician committed Jan 4, 2019
1 parent b0cbba8 commit f0c89a3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/terraform
2 changes: 1 addition & 1 deletion build/terraform-beta
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit f0c89a3

Please sign in to comment.