Skip to content

Commit bf4cd44

Browse files
[CI] Another hack so terraform plan returns nothing
Same issue that we've seen before with the same solution. I need to properly investigate this at some point.
1 parent a2b31a9 commit bf4cd44

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

premerge/main.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ resource "google_container_node_pool" "llvm_premerge_linux" {
9292
"premerge-platform" : "linux"
9393
}
9494
disk_size_gb = 200
95+
# Terraform wants to recreate the node pool everytime whe running
96+
# terraform apply unless we explicitly set this.
97+
# TODO(boomanaiden154): Look into why terraform is doing this so we do
98+
# not need this hack.
99+
resource_labels = {
100+
"goog-gke-node-pool-provisioning-model" = "on-demand"
101+
}
95102
}
96103
}
97104

0 commit comments

Comments
 (0)