Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit b9429b5

Browse files
committed
🧱 Update the configuration for blocking node metadata on GKE (fixing a Terraform API breaking change regression)
1 parent bb44d99 commit b9429b5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎provision/gke-with-gpu/gke.tf‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ resource "google_container_node_pool" "primary_core" {
3535
"https://www.googleapis.com/auth/devstorage.read_only"
3636
]
3737
workload_metadata_config {
38-
node_metadata = "SECURE"
38+
mode = "UNSPECIFIED"
3939
}
4040
}
4141
}
@@ -57,7 +57,7 @@ resource "google_container_node_pool" "primary_ml" {
5757
"https://www.googleapis.com/auth/devstorage.read_only"
5858
]
5959
workload_metadata_config {
60-
node_metadata = "SECURE"
60+
mode = "UNSPECIFIED"
6161
}
6262
guest_accelerator {
6363
type = var.gcp_gpu

‎provision/gke/gke.tf‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ resource "google_container_node_pool" "primary_core" {
3535
"https://www.googleapis.com/auth/devstorage.read_only"
3636
]
3737
workload_metadata_config {
38-
node_metadata = "SECURE"
38+
mode = "UNSPECIFIED"
3939
}
4040
}
4141
}

0 commit comments

Comments
 (0)