Skip to content

Commit 91145cd

Browse files
readability -- squash
Co-authored-by: Awais Malik <[email protected]>
1 parent 55e447d commit 91145cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autogen/main/main.tf.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@ locals {
219219
cluster_workload_identity_config = ! local.workload_identity_enabled ? [] : var.identity_namespace == "enabled" ? [{
220220
workload_pool = "${var.project_id}.svc.id.goog" }] : [{ workload_pool = var.identity_namespace
221221
}]
222-
cluster_mesh_certificates_config = ! local.workload_identity_enabled ? [] : [{
222+
cluster_mesh_certificates_config = local.workload_identity_enabled ? [{
223223
enable_certificates = var.enable_mesh_certificates
224-
}]
224+
}] : []
225225

226226
{% if beta_cluster %}
227227
# BETA features

0 commit comments

Comments
 (0)