diff --git a/kubernetes/test-infra/gke/main.tf b/kubernetes/test-infra/gke/main.tf index 0e876ef05d..6e789ebeed 100644 --- a/kubernetes/test-infra/gke/main.tf +++ b/kubernetes/test-infra/gke/main.tf @@ -76,6 +76,8 @@ resource "google_container_cluster" "primary" { ] } } + + deletion_protection = false } locals { diff --git a/kubernetes/test-infra/gke/versions.tf b/kubernetes/test-infra/gke/versions.tf index 83878d7b56..39bf7f0d68 100644 --- a/kubernetes/test-infra/gke/versions.tf +++ b/kubernetes/test-infra/gke/versions.tf @@ -3,5 +3,12 @@ terraform { - required_version = ">= 0.12" + required_version = ">= 1.0" + + required_providers { + google = { + source = "hashicorp/google" + version = ">= 5.0.0, < 6.0.0" + } + } }