Skip to content

Commit

Permalink
fix: Do not ignore "mesh_id" label on "google_container_cluster" reso…
Browse files Browse the repository at this point in the history
…urce (#1836)
  • Loading branch information
legal90 authored Jan 18, 2024
1 parent cf3f8a9 commit 95641a6
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 @@ -399,7 +399,7 @@ resource "google_container_cluster" "primary" {

{% if autopilot_cluster != true %}
lifecycle {
ignore_changes = [node_pool, initial_node_count, resource_labels["asmv"], resource_labels["mesh_id"]]
ignore_changes = [node_pool, initial_node_count, resource_labels["asmv"]]
}
{% endif %}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

dynamic "dns_config" {
Expand Down

0 comments on commit 95641a6

Please sign in to comment.