File tree 1 file changed +14
-0
lines changed 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,13 @@ resource "google_container_node_pool" "llvm_premerge_linux_service" {
23
23
24
24
node_config {
25
25
machine_type = " e2-highcpu-4"
26
+ # Terraform wants to recreate the node pool everytime whe running
27
+ # terraform apply unless we explicitly set this.
28
+ # TODO(boomanaiden154): Look into why terraform is doing this so we do
29
+ # not need this hack.
30
+ resource_labels = {
31
+ " goog-gke-node-pool-provisioning-model" = " on-demand"
32
+ }
26
33
}
27
34
}
28
35
@@ -89,5 +96,12 @@ resource "google_container_node_pool" "llvm_premerge_windows" {
89
96
" disable-legacy-endpoints" = " true"
90
97
}
91
98
disk_size_gb = 200
99
+ # Terraform wants to recreate the node pool everytime whe running
100
+ # terraform apply unless we explicitly set this.
101
+ # TODO(boomanaiden154): Look into why terraform is doing this so we do
102
+ # not need this hack.
103
+ resource_labels = {
104
+ " goog-gke-node-pool-provisioning-model" = " on-demand"
105
+ }
92
106
}
93
107
}
You can’t perform that action at this time.
0 commit comments