Skip to content

Commit

Permalink
fix: upgrade gke module to avoid TPGv5.44.0 with Autopilot (#806)
Browse files Browse the repository at this point in the history
* fix: upgrade gke module to avoid TPGv5.44.0 with Autopilot

Change-Id: I716787e0dd8699b36d919feb5c42de6d6ccdbcb5

* fix: lint

Change-Id: I61db44be22cc2a82513a700f1f8f1360596c913e

---------

Co-authored-by: Gen Lu <[email protected]>
  • Loading branch information
genlu2011 and Gen Lu committed Sep 11, 2024
1 parent c1633fa commit 0294ba3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions infrastructure/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ terraform {
}
google-beta = {
source = "hashicorp/google-beta"
# Creating Autopilot using GKE submodule is broken in v6.2.0.
version = ">= 5.40.0, !=6.2.0"
}
helm = {
source = "hashicorp/helm"
Expand Down
2 changes: 1 addition & 1 deletion modules/gke-autopilot-private-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

module "gke" {
source = "terraform-google-modules/kubernetes-engine/google//modules/beta-autopilot-private-cluster"
version = "32.0.1"
version = "33.0.0"
project_id = var.project_id
regional = var.cluster_regional
name = var.cluster_name
Expand Down
2 changes: 1 addition & 1 deletion modules/gke-autopilot-public-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

module "gke" {
source = "terraform-google-modules/kubernetes-engine/google//modules/beta-autopilot-public-cluster"
version = "32.0.1"
version = "33.0.0"
project_id = var.project_id
regional = var.cluster_regional
name = var.cluster_name
Expand Down
2 changes: 1 addition & 1 deletion modules/gke-standard-private-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ locals {

module "gke" {
source = "terraform-google-modules/kubernetes-engine/google//modules/private-cluster"
version = "32.0.1"
version = "33.0.0"
project_id = var.project_id
regional = var.cluster_regional
name = var.cluster_name
Expand Down
2 changes: 1 addition & 1 deletion modules/gke-standard-public-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ locals {

module "gke" {
source = "terraform-google-modules/kubernetes-engine/google"
version = "32.0.1"
version = "33.0.0"
project_id = var.project_id
regional = var.cluster_regional
name = var.cluster_name
Expand Down

0 comments on commit 0294ba3

Please sign in to comment.