Skip to content

Commit

Permalink
fix addressing
Browse files Browse the repository at this point in the history
  • Loading branch information
David J. M. Karlsen committed Dec 9, 2023
1 parent bbcafd0 commit b05d83f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
container_app_environment_id = try(data.azurerm_container_app_environment.container_env.id, azurerm_container_app_environment.container_env[0].id)
container_app_environment_id = try(data.azurerm_container_app_environment.container_env[0].id, azurerm_container_app_environment.container_env[0].id)
}

resource "azurerm_log_analytics_workspace" "laws" {
Expand Down
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ output "container_app_fqdn" {

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.static_ip_address)
value = try(azurerm_container_app_environment.container_env[0].static_ip_address, data.azurerm_container_app_environment.container_env[0].static_ip_address)
}

0 comments on commit b05d83f

Please sign in to comment.