Skip to content

Commit

Permalink
fix: ignore ASM labels (terraform-google-modules#1061)
Browse files Browse the repository at this point in the history
  • Loading branch information
morgante committed Nov 15, 2021
1 parent 4c67cd7 commit 41080c3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion autogen/main/cluster.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ resource "google_container_cluster" "primary" {
}

lifecycle {
ignore_changes = [node_pool, initial_node_count]
ignore_changes = [node_pool, initial_node_count, resource_labels["asmv"], resource_labels["mesh_id"]]
}

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

lifecycle {
ignore_changes = [node_pool, initial_node_count]
ignore_changes = [node_pool, initial_node_count, resource_labels["asmv"], resource_labels["mesh_id"]]
}

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

lifecycle {
ignore_changes = [node_pool, initial_node_count]
ignore_changes = [node_pool, initial_node_count, resource_labels["asmv"], resource_labels["mesh_id"]]
}

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 @@ -217,7 +217,7 @@ resource "google_container_cluster" "primary" {
}

lifecycle {
ignore_changes = [node_pool, initial_node_count]
ignore_changes = [node_pool, initial_node_count, resource_labels["asmv"], resource_labels["mesh_id"]]
}

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

lifecycle {
ignore_changes = [node_pool, initial_node_count]
ignore_changes = [node_pool, initial_node_count, resource_labels["asmv"], resource_labels["mesh_id"]]
}

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 @@ -217,7 +217,7 @@ resource "google_container_cluster" "primary" {
}

lifecycle {
ignore_changes = [node_pool, initial_node_count]
ignore_changes = [node_pool, initial_node_count, resource_labels["asmv"], resource_labels["mesh_id"]]
}

timeouts {
Expand Down
2 changes: 1 addition & 1 deletion modules/private-cluster-update-variant/cluster.tf