diff --git a/src/domains/selfcare-app/04_apim_backoffice_external.tf b/src/domains/selfcare-app/04_apim_backoffice_external.tf index febc5a326..dd64d76a8 100644 --- a/src/domains/selfcare-app/04_apim_backoffice_external.tf +++ b/src/domains/selfcare-app/04_apim_backoffice_external.tf @@ -70,3 +70,17 @@ module "apim_selfcare_backoffice_helpdesk_product" { policy_xml = file("./api_product/_base_policy.xml") } + +# SubKey 4 https://uptime.betterstack.com/team/263223/monitors recover maintenance +# Status Page Improvement https://pagopa.atlassian.net/wiki/x/AoBBSQ +resource "azurerm_api_management_subscription" "status_page_improvement_api_key_subkey" { + count = var.env_short == "p" ? 1 : 0 + + api_management_name = local.pagopa_apim_name + resource_group_name = local.pagopa_apim_rg + + product_id = module.apim_selfcare_backoffice_helpdesk_product.id + display_name = "Status Page Improvement API Key for Backoffice Helpdesk" + allow_tracing = false + state = "active" +} \ No newline at end of file