Skip to content

Commit

Permalink
fix: (IAC-1008) Explicitly Set the release_channel when Creating GKE …
Browse files Browse the repository at this point in the history
…Clusters (#170)
  • Loading branch information
jarpat authored May 1, 2023
1 parent 3aa92db commit 53f2cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53f2cdc

Please sign in to comment.