From b23bc860bbae21a92e7f008856deec62c408518b Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Mon, 27 Mar 2023 17:18:35 -0400 Subject: [PATCH] Fix: Remove 1.23 restriction on workload identity module (#1595) --- examples/workload_identity/main.tf | 2 -- modules/workload-identity/README.md | 2 -- modules/workload-identity/versions.tf | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/workload_identity/main.tf b/examples/workload_identity/main.tf index e63ba4e273..204e13b739 100644 --- a/examples/workload_identity/main.tf +++ b/examples/workload_identity/main.tf @@ -38,8 +38,6 @@ module "gke" { remove_default_node_pool = true service_account = "create" node_metadata = "GKE_METADATA" - # https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/issues/1313 - kubernetes_version = "1.23" node_pools = [ { name = "wi-pool" diff --git a/modules/workload-identity/README.md b/modules/workload-identity/README.md index 515aed5dff..da61430f63 100644 --- a/modules/workload-identity/README.md +++ b/modules/workload-identity/README.md @@ -14,8 +14,6 @@ The `terraform-google-workload-identity` can create service accounts for you, or you can use existing accounts; this applies for both the Google and Kubernetes accounts. -Note: This module currently supports Kubernetes <= 1.23. - ### Creating a Workload Identity ```hcl diff --git a/modules/workload-identity/versions.tf b/modules/workload-identity/versions.tf index 9a9e57bf9e..7df18d125e 100644 --- a/modules/workload-identity/versions.tf +++ b/modules/workload-identity/versions.tf @@ -25,7 +25,7 @@ terraform { } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.0" + version = "~> 2.13" } }