From 53f2cdc4195f6ef899b070de6bb96c719adc1b03 Mon Sep 17 00:00:00 2001 From: Jay Patel <78554593+jarpat@users.noreply.github.com> Date: Mon, 1 May 2023 09:32:39 -0400 Subject: [PATCH] fix: (IAC-1008) Explicitly Set the release_channel when Creating GKE Clusters (#170) --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 1bfa57c..8169636 100644 --- a/main.tf +++ b/main.tf @@ -113,7 +113,7 @@ module "gke" { add_cluster_firewall_rules = true - release_channel = var.kubernetes_channel != "UNSPECIFIED" ? var.kubernetes_channel : null + release_channel = var.kubernetes_channel kubernetes_version = var.kubernetes_channel == "UNSPECIFIED" ? var.kubernetes_version : data.google_container_engine_versions.gke-version.release_channel_default_version[var.kubernetes_channel] network_policy = var.gke_network_policy