Skip to content

Commit

Permalink
also output identities of the container apps
Browse files Browse the repository at this point in the history
  • Loading branch information
David J. M. Karlsen authored and lonegunmanb committed Dec 20, 2023
1 parent 0f99c29 commit f6539f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ output "container_app_ips" {
description = "The IPs of the Latest Revision of the Container App."
value = try(azurerm_container_app_environment.container_env[0].static_ip_address, data.azurerm_container_app_environment.container_env[0].static_ip_address)
}

output "identity_ids" {
description = "The identities of the Container App."
value = { for name, container in azurerm_container_app.container_app : name => container.identity }
}

0 comments on commit f6539f3

Please sign in to comment.