From 7660b5156a740d59958e472ee2faa1637215bf06 Mon Sep 17 00:00:00 2001 From: Jonathan Meyers Date: Wed, 8 Apr 2020 05:57:53 +0800 Subject: [PATCH] Fix: Correct bug in passing var.zones for safer cluster modules (#474) * passed zones to the parent module Signed-off-by: Jonathan Meyers * module update * put back vars Signed-off-by: Jonathan Meyers * autogen Signed-off-by: Jonathan Meyers --- autogen/safer-cluster/main.tf.tmpl | 1 + modules/safer-cluster-update-variant/main.tf | 1 + modules/safer-cluster/main.tf | 1 + 3 files changed, 3 insertions(+) diff --git a/autogen/safer-cluster/main.tf.tmpl b/autogen/safer-cluster/main.tf.tmpl index ecec2e4bd..ad0bb77a2 100644 --- a/autogen/safer-cluster/main.tf.tmpl +++ b/autogen/safer-cluster/main.tf.tmpl @@ -28,6 +28,7 @@ module "gke" { name = var.name regional = var.regional region = var.region + zones = var.zones network = var.network network_project_id = var.network_project_id diff --git a/modules/safer-cluster-update-variant/main.tf b/modules/safer-cluster-update-variant/main.tf index 9cd0ad3e0..26b5f7e89 100644 --- a/modules/safer-cluster-update-variant/main.tf +++ b/modules/safer-cluster-update-variant/main.tf @@ -24,6 +24,7 @@ module "gke" { name = var.name regional = var.regional region = var.region + zones = var.zones network = var.network network_project_id = var.network_project_id diff --git a/modules/safer-cluster/main.tf b/modules/safer-cluster/main.tf index fd12123be..21e634ad6 100644 --- a/modules/safer-cluster/main.tf +++ b/modules/safer-cluster/main.tf @@ -24,6 +24,7 @@ module "gke" { name = var.name regional = var.regional region = var.region + zones = var.zones network = var.network network_project_id = var.network_project_id