Skip to content

Commit

Permalink
update APP_MESSAGES_API_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacavallaro committed Oct 3, 2024
1 parent a158ddc commit d626cfa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/common/_modules/app_backend/data_kv.tf
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,4 @@ data "azurerm_key_vault_secret" "app_backend_PRE_SHARED_KEY" {
data "azurerm_key_vault_secret" "app_backend_TRIAL_SYSTEM_APIM_KEY" {
name = "appbackend-TRIAL-SYSTEM-APIM-KEY"
key_vault_id = var.key_vault_common.id
}
}
6 changes: 3 additions & 3 deletions src/common/prod/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ data "azurerm_linux_function_app" "function_profile" {
resource_group_name = "${local.project_itn}-profile-rg-0${count.index + 1}"
}

data "azurerm_linux_function_app" "app_messages" {
data "azurerm_linux_function_app" "app_messages_xl" {
count = local.app_messages_count
name = "${local.project_weu_legacy}-app-messages-fn-${count.index + 1}"
resource_group_name = "${local.project_weu_legacy}-app-messages-rg-${count.index + 1}"
name = "${local.project_weu_legacy}-weu-com-citizen-func-0${count.index + 1}"
resource_group_name = "${local.project_weu_legacy}-weu-com-rg-01"
}

data "azurerm_linux_function_app" "services_app_backend_function_app" {
Expand Down
3 changes: 1 addition & 2 deletions src/common/prod/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ locals {

backend_hostnames = {
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]
app_messages = [for key, value in data.azurerm_linux_function_app.app_messages_xl : 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
lollipop = data.azurerm_linux_function_app.lollipop_function.default_hostname
Expand Down Expand Up @@ -264,4 +264,3 @@ locals {
}
]
}

0 comments on commit d626cfa

Please sign in to comment.