Skip to content

Commit

Permalink
fix: app backend hostname pointing to wrong data
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-calabrese committed Oct 3, 2024
1 parent 7a587ae commit ce5a8bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/prod/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ locals {
core = data.terraform_remote_state.core.outputs

function_profile_count = 2
app_messages_count = 2
app_messages_count = 2

# TODO: edit this block when resource groups module is implemented
resource_groups = {
Expand Down Expand Up @@ -67,7 +67,7 @@ locals {
}

backend_hostnames = {
app = [for key, value in data.azurerm_linux_function_app.function_app : value.default_hostname]
app = [for key, value in data.azurerm_linux_function_app.function_profile : value.default_hostname]
app_messages = [for key, value in data.azurerm_linux_function_app.app_messages : value.default_hostname]
assets_cdn = data.azurerm_linux_function_app.function_assets_cdn.default_hostname
services_app_backend = data.azurerm_linux_function_app.services_app_backend_function_app.default_hostname
Expand Down

0 comments on commit ce5a8bb

Please sign in to comment.