Skip to content

Commit

Permalink
Fix: Invalid list reference (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrizzlyOwl authored Sep 9, 2024
1 parent 851074a commit c6d0c2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions container-app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ resource "azurerm_container_app" "container_apps" {
}

dynamic "identity" {
for_each = toset(local.container_app_identity_ids)
for_each = length(local.container_app_identity_ids) > 0 ? [1] : []

content {
type = "UserAssigned"
identity_ids = identity.value
identity_ids = local.container_app_identity_ids
}
}

Expand Down

0 comments on commit c6d0c2c

Please sign in to comment.