Skip to content

Commit

Permalink
Merge pull request #255 from julianvmodesto/cluster-initial-node-count
Browse files Browse the repository at this point in the history
Set cluster initial node count from var
  • Loading branch information
morgante authored Sep 5, 2019
2 parents bb282a9 + 10be6f3 commit 0e78ca6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion autogen/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ resource "google_container_cluster" "primary" {
}

lifecycle {
ignore_changes = [node_pool]
ignore_changes = [node_pool, initial_node_count]
}

timeouts {
Expand Down
2 changes: 1 addition & 1 deletion cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ resource "google_container_cluster" "primary" {
}

lifecycle {
ignore_changes = [node_pool]
ignore_changes = [node_pool, initial_node_count]
}

timeouts {
Expand Down
2 changes: 1 addition & 1 deletion modules/beta-private-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ resource "google_container_cluster" "primary" {
}

lifecycle {
ignore_changes = [node_pool]
ignore_changes = [node_pool, initial_node_count]
}

timeouts {
Expand Down
2 changes: 1 addition & 1 deletion modules/beta-public-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ resource "google_container_cluster" "primary" {
}

lifecycle {
ignore_changes = [node_pool]
ignore_changes = [node_pool, initial_node_count]
}

timeouts {
Expand Down
2 changes: 1 addition & 1 deletion modules/private-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ resource "google_container_cluster" "primary" {
}

lifecycle {
ignore_changes = [node_pool]
ignore_changes = [node_pool, initial_node_count]
}

timeouts {
Expand Down

0 comments on commit 0e78ca6

Please sign in to comment.