Skip to content

Commit 0e78ca6

Browse files
authored
Merge pull request #255 from julianvmodesto/cluster-initial-node-count
Set cluster initial node count from var
2 parents bb282a9 + 10be6f3 commit 0e78ca6

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

autogen/cluster.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ resource "google_container_cluster" "primary" {
143143
}
144144

145145
lifecycle {
146-
ignore_changes = [node_pool]
146+
ignore_changes = [node_pool, initial_node_count]
147147
}
148148

149149
timeouts {

cluster.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ resource "google_container_cluster" "primary" {
9999
}
100100

101101
lifecycle {
102-
ignore_changes = [node_pool]
102+
ignore_changes = [node_pool, initial_node_count]
103103
}
104104

105105
timeouts {

modules/beta-private-cluster/cluster.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ resource "google_container_cluster" "primary" {
135135
}
136136

137137
lifecycle {
138-
ignore_changes = [node_pool]
138+
ignore_changes = [node_pool, initial_node_count]
139139
}
140140

141141
timeouts {

modules/beta-public-cluster/cluster.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ resource "google_container_cluster" "primary" {
135135
}
136136

137137
lifecycle {
138-
ignore_changes = [node_pool]
138+
ignore_changes = [node_pool, initial_node_count]
139139
}
140140

141141
timeouts {

modules/private-cluster/cluster.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ resource "google_container_cluster" "primary" {
9999
}
100100

101101
lifecycle {
102-
ignore_changes = [node_pool]
102+
ignore_changes = [node_pool, initial_node_count]
103103
}
104104

105105
timeouts {

0 commit comments

Comments
 (0)