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 69a5c61 commit 8902089
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
7 changes: 1 addition & 6 deletions src/common/_modules/app_backend/data_kv.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ data "azurerm_key_vault_secret" "app_backend_APP_MESSAGES_API_KEY" {
key_vault_id = var.key_vault_common.id
}

data "azurerm_key_vault_secret" "app_backend_APP_MESSAGES_API_KEY_02" {
name = "appbackend-APP-MESSAGES-API-KEY-02"
key_vault_id = var.key_vault_common.id
}

data "azurerm_key_vault_secret" "app_backend_APP_CITIZEN_APIM_KEY" {
name = "appbackend-APP-CITIZEN-APIM-KEY"
key_vault_id = var.key_vault_common.id
Expand Down Expand Up @@ -154,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
}
}
8 changes: 4 additions & 4 deletions src/common/prod/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ locals {
IS_APPBACKENDLI = "false"
// FUNCTIONS
API_URL = "https://${data.azurerm_linux_function_app.function_app[1].default_hostname}/api/v1"
APP_MESSAGES_API_URL = "https://io-p-app-messages-fn-1.azurewebsites.net/api/v1"
APP_MESSAGES_API_URL = "https://io-p-weu-com-citizen-func-01.azurewebsites.net/api/v1"
}
},
l2 = {
Expand All @@ -60,7 +60,7 @@ locals {
IS_APPBACKENDLI = "false"
// FUNCTIONS
API_URL = "https://${data.azurerm_linux_function_app.function_app[1].default_hostname}/api/v1"
APP_MESSAGES_API_URL = "https://io-p-app-messages-fn-2.azurewebsites.net/api/v1"
APP_MESSAGES_API_URL = "https://io-p-weu-com-citizen-func-02.azurewebsites.net/api/v1"
}
}
}
Expand All @@ -71,7 +71,7 @@ locals {
IS_APPBACKENDLI = "true"
// FUNCTIONS
API_URL = "https://${data.azurerm_linux_function_app.function_app[1].default_hostname}/api/v1" # not used
APP_MESSAGES_API_URL = "https://io-p-app-messages-fn-1.azurewebsites.net/api/v1"
APP_MESSAGES_API_URL = "https://io-p-weu-com-citizen-func-01.azurewebsites.net/api/v1"
}
}

Expand Down Expand Up @@ -275,4 +275,4 @@ locals {
]
}
]
}
}

0 comments on commit 8902089

Please sign in to comment.