Skip to content

Commit

Permalink
[#PE-718] Switch CGN functions to ITN deployed func (#1267)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldisaro authored Oct 30, 2024
1 parent d56038c commit af1f3d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/common/prod/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ locals {
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
eucovidcert = data.azurerm_linux_function_app.eucovidcert.default_hostname
cgn = data.azurerm_linux_function_app.function_cgn.default_hostname
cgn = "io-p-itn-cgn-card-func-01.azurewebsites.net"
iosign = data.azurerm_linux_function_app.io_sign_user.default_hostname
cgnonboarding = "io-p-itn-cgn-search-func-01.azurewebsites.net"
trial_system_api = "ts-p-itn-api-func-01.azurewebsites.net"
Expand Down
2 changes: 1 addition & 1 deletion src/domains/cgn/_modules/apim/named_values_cgn.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resource "azurerm_api_management_named_value" "io_fn_cgnmerchant_url_v2" {
api_management_name = data.azurerm_api_management.apim.name
resource_group_name = data.azurerm_api_management.apim.resource_group_name
display_name = "io-fn-cgnmerchant-url"
value = "https://${var.function_cgn_merchant_hostname}"
value = "https://io-p-itn-cgn-merchant-func-01.azurewebsites.net"
}

resource "azurerm_api_management_named_value" "io_fn_cgnmerchant_key_v2" {
Expand Down
2 changes: 1 addition & 1 deletion src/domains/cgn/_modules/apim/named_values_cgn_os.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resource "azurerm_api_management_named_value" "cgnonboardingportal_os_url_value_
api_management_name = data.azurerm_api_management.apim.name
resource_group_name = data.azurerm_api_management.apim.resource_group_name
display_name = "cgnonboardingportal-os-url"
value = format("https://cgnonboardingportal-%s-op.azurewebsites.net", var.env_short)
value = "https://io-p-itn-cgn-search-func-01.azurewebsites.net"
}

resource "azurerm_api_management_named_value" "cgnonboardingportal_os_key_v2" {
Expand Down

0 comments on commit af1f3d5

Please sign in to comment.