Skip to content

Commit cf6be0d

Browse files
Adam-D-Lewisclaude
andauthored
Fix Nebari Destroy on GCP (deletion_protection=False) (#3169)
Co-authored-by: Claude <[email protected]>
1 parent 33ca3cf commit cf6be0d

File tree

1 file changed

+4
-3
lines changed
  • src/_nebari/stages/infrastructure/template/gcp/modules/kubernetes

1 file changed

+4
-3
lines changed

src/_nebari/stages/infrastructure/template/gcp/modules/kubernetes/main.tf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ data "google_client_config" "main" {
22
}
33

44
resource "google_container_cluster" "main" {
5-
name = var.name
6-
location = var.location
7-
min_master_version = var.kubernetes_version
5+
name = var.name
6+
location = var.location
7+
min_master_version = var.kubernetes_version
8+
deletion_protection = false
89

910
node_locations = var.availability_zones
1011

0 commit comments

Comments
 (0)