Skip to content

Commit f8a986e

Browse files
committed
fix for deletion protection for gcp
1 parent 738a5d7 commit f8a986e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gcp/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ resource "google_container_cluster" "gke" {
3333
network = google_compute_network.vpc.name
3434
subnetwork = google_compute_subnetwork.node_subnet.name
3535

36+
deletion_protection = false
37+
3638
workload_identity_config {
3739
workload_pool = "${var.project_id}.svc.id.goog"
3840
}

0 commit comments

Comments
 (0)