From d99f0942d9f608d1069029e797e3c302e78c91b0 Mon Sep 17 00:00:00 2001 From: Aditya Anchuri Date: Wed, 12 Oct 2016 22:03:03 -0700 Subject: [PATCH] Interpolate list lookup [#127396911] --- ops_manager.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops_manager.tf b/ops_manager.tf index 29ace10..dffe0e5 100644 --- a/ops_manager.tf +++ b/ops_manager.tf @@ -20,7 +20,7 @@ resource "google_compute_instance" "ops-manager" { name = "${var.env_name}-ops-manager" depends_on = ["google_compute_subnetwork.ops-manager-subnet"] machine_type = "n1-standard-2" - zone = "element(var.zone, 1)" + zone = "${element(var.zones, 1)}" tags = ["${var.env_name}-ops-manager-external"]