Skip to content

Commit

Permalink
Updated for each condition of binary authorization in gke-cluster module
Browse files Browse the repository at this point in the history
  • Loading branch information
sirohia committed Sep 19, 2022
1 parent 489acfd commit eb73e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gke-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ resource "google_container_cluster" "cluster" {
}

dynamic "binary_authorization" {
for_each = var.enable_binary_authorization == true ? [""] : []
for_each = var.enable_binary_authorization ? [""] : []
content {
evaluation_mode = "PROJECT_SINGLETON_POLICY_ENFORCE"
}
Expand Down

0 comments on commit eb73e13

Please sign in to comment.