Skip to content

Commit

Permalink
Fix: correct confidential node field name (#2140)
Browse files Browse the repository at this point in the history
  • Loading branch information
redoak666 authored Oct 17, 2024
1 parent b4eb86a commit 373c969
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion autogen/main/cluster.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ resource "google_container_node_pool" "windows_pools" {
}

dynamic "confidential_nodes" {
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.confidential_nodes] : []
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.enable_confidential_nodes] : []
content {
enabled = confidential_nodes.value
}
Expand Down
4 changes: 2 additions & 2 deletions cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ resource "google_container_node_pool" "pools" {
}

dynamic "confidential_nodes" {
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.confidential_nodes] : []
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.enable_confidential_nodes] : []
content {
enabled = confidential_nodes.value
}
Expand Down Expand Up @@ -1058,7 +1058,7 @@ resource "google_container_node_pool" "windows_pools" {
}

dynamic "confidential_nodes" {
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.confidential_nodes] : []
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.enable_confidential_nodes] : []
content {
enabled = confidential_nodes.value
}
Expand Down
4 changes: 2 additions & 2 deletions modules/beta-private-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ resource "google_container_node_pool" "pools" {
}

dynamic "confidential_nodes" {
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.confidential_nodes] : []
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.enable_confidential_nodes] : []
content {
enabled = confidential_nodes.value
}
Expand Down Expand Up @@ -1249,7 +1249,7 @@ resource "google_container_node_pool" "windows_pools" {
}

dynamic "confidential_nodes" {
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.confidential_nodes] : []
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.enable_confidential_nodes] : []
content {
enabled = confidential_nodes.value
}
Expand Down
4 changes: 2 additions & 2 deletions modules/beta-private-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ resource "google_container_node_pool" "pools" {
}

dynamic "confidential_nodes" {
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.confidential_nodes] : []
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.enable_confidential_nodes] : []
content {
enabled = confidential_nodes.value
}
Expand Down Expand Up @@ -1163,7 +1163,7 @@ resource "google_container_node_pool" "windows_pools" {
}

dynamic "confidential_nodes" {
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.confidential_nodes] : []
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.enable_confidential_nodes] : []
content {
enabled = confidential_nodes.value
}
Expand Down
4 changes: 2 additions & 2 deletions modules/beta-public-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ resource "google_container_node_pool" "pools" {
}

dynamic "confidential_nodes" {
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.confidential_nodes] : []
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.enable_confidential_nodes] : []
content {
enabled = confidential_nodes.value
}
Expand Down Expand Up @@ -1228,7 +1228,7 @@ resource "google_container_node_pool" "windows_pools" {
}

dynamic "confidential_nodes" {
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.confidential_nodes] : []
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.enable_confidential_nodes] : []
content {
enabled = confidential_nodes.value
}
Expand Down
4 changes: 2 additions & 2 deletions modules/beta-public-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ resource "google_container_node_pool" "pools" {
}

dynamic "confidential_nodes" {
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.confidential_nodes] : []
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.enable_confidential_nodes] : []
content {
enabled = confidential_nodes.value
}
Expand Down Expand Up @@ -1142,7 +1142,7 @@ resource "google_container_node_pool" "windows_pools" {
}

dynamic "confidential_nodes" {
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.confidential_nodes] : []
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.enable_confidential_nodes] : []
content {
enabled = confidential_nodes.value
}
Expand Down
4 changes: 2 additions & 2 deletions modules/private-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ resource "google_container_node_pool" "pools" {
}

dynamic "confidential_nodes" {
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.confidential_nodes] : []
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.enable_confidential_nodes] : []
content {
enabled = confidential_nodes.value
}
Expand Down Expand Up @@ -1164,7 +1164,7 @@ resource "google_container_node_pool" "windows_pools" {
}

dynamic "confidential_nodes" {
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.confidential_nodes] : []
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.enable_confidential_nodes] : []
content {
enabled = confidential_nodes.value
}
Expand Down
4 changes: 2 additions & 2 deletions modules/private-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ resource "google_container_node_pool" "pools" {
}

dynamic "confidential_nodes" {
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.confidential_nodes] : []
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.enable_confidential_nodes] : []
content {
enabled = confidential_nodes.value
}
Expand Down Expand Up @@ -1079,7 +1079,7 @@ resource "google_container_node_pool" "windows_pools" {
}

dynamic "confidential_nodes" {
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.confidential_nodes] : []
for_each = lookup(each.value, "enable_confidential_nodes", null) != null ? [each.value.enable_confidential_nodes] : []
content {
enabled = confidential_nodes.value
}
Expand Down

0 comments on commit 373c969

Please sign in to comment.