Skip to content

Commit 57e8334

Browse files
author
Rishi Malik
committed
Slice is 0 indexed....
1 parent 1f4dd21 commit 57e8334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fixtures/simple_zonal/example.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module "example" {
2020
project_id = "${var.project_id}"
2121
credentials_path = "${local.credentials_path}"
2222
region = "${var.region}"
23-
zones = ["${slice(var.zones,1,1)}"]
23+
zones = ["${slice(var.zones,0,1)}"]
2424
network = "${google_compute_network.main.name}"
2525
subnetwork = "${google_compute_subnetwork.main.name}"
2626
ip_range_pods = "${google_compute_subnetwork.main.secondary_ip_range.0.range_name}"

0 commit comments

Comments
 (0)