File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
beta-autopilot-private-cluster
beta-autopilot-public-cluster Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -601,15 +601,13 @@ resource "google_container_cluster" "primary" {
601601 }
602602 }
603603
604- {% if autopilot_cluster != true %}
605604 dynamic "workload_identity_config" {
606605 for_each = local.cluster_workload_identity_config
607606
608607 content {
609608 workload_pool = workload_identity_config.value.workload_pool
610609 }
611610 }
612- {% endif %}
613611
614612 {% if autopilot_cluster != true %}
615613 dynamic "mesh_certificates" {
Original file line number Diff line number Diff line change @@ -290,6 +290,13 @@ resource "google_container_cluster" "primary" {
290290 }
291291 }
292292
293+ dynamic "workload_identity_config" {
294+ for_each = local. cluster_workload_identity_config
295+
296+ content {
297+ workload_pool = workload_identity_config. value . workload_pool
298+ }
299+ }
293300
294301
295302 dynamic "authenticator_groups_config" {
Original file line number Diff line number Diff line change @@ -271,6 +271,13 @@ resource "google_container_cluster" "primary" {
271271 }
272272 }
273273
274+ dynamic "workload_identity_config" {
275+ for_each = local. cluster_workload_identity_config
276+
277+ content {
278+ workload_pool = workload_identity_config. value . workload_pool
279+ }
280+ }
274281
275282
276283 dynamic "authenticator_groups_config" {
You can’t perform that action at this time.
0 commit comments