Skip to content

Commit

Permalink
[IOCOM-1810] Update APP_MESSAGES_API_URL (#1226)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacavallaro authored Oct 4, 2024
1 parent ae43d29 commit 827ba78
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 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
}
}
2 changes: 1 addition & 1 deletion src/common/prod/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
| [azurerm_resource_group.github_runner](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group) | resource |
| [azurerm_api_management.trial_system](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/api_management) | data source |
| [azurerm_client_config.current](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/client_config) | data source |
| [azurerm_linux_function_app.app_messages](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/linux_function_app) | data source |
| [azurerm_linux_function_app.app_messages_xl](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/linux_function_app) | data source |
| [azurerm_linux_function_app.eucovidcert](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/linux_function_app) | data source |
| [azurerm_linux_function_app.function_assets_cdn](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/linux_function_app) | data source |
| [azurerm_linux_function_app.function_cgn](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/linux_function_app) | data source |
Expand Down
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 827ba78

Please sign in to comment.