From 1ddc122d6c19e97b70ffbc4a15435c3e67c40e72 Mon Sep 17 00:00:00 2001 From: Sheneska Williams <74882676+sheneska@users.noreply.github.com> Date: Tue, 10 Oct 2023 13:27:16 -0400 Subject: [PATCH] Fix GKE workflow (#2298) Co-authored-by: Aleksandr Rybolovlev --- kubernetes/test-infra/gke/main.tf | 2 ++ kubernetes/test-infra/gke/versions.tf | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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" + } + } }