Skip to content

Commit

Permalink
[IOPAE-1529] Add Listeners and route for iPatente applications (#1331)
Browse files Browse the repository at this point in the history
  • Loading branch information
giamma1295 authored Nov 21, 2024
1 parent 31722c0 commit 6be5ac1
Showing 1 changed file with 37 additions and 37 deletions.
74 changes: 37 additions & 37 deletions src/common/_modules/application_gateway/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -412,31 +412,31 @@ module "app_gw" {
}
}

# vehicles-ipatente-io-pagopa-it = {
# protocol = "Https"
# host = format("vehicles.%s", var.public_dns_zones.ipatente_io_pagopa_it.name)
# port = 443
# ssl_profile_name = format("%s-ssl-profile", var.project)
# firewall_policy_id = null

# certificate = {
# name = var.certificates.vehicles_ipatente_io_pagopa_it
# id = data.azurerm_key_vault_certificate.app_gw_vehicles_ipatente_io.versionless_secret_id
# }
# }

# licences-ipatente-io-pagopa-it = {
# protocol = "Https"
# host = format("licences.%s", var.public_dns_zones.ipatente_io_pagopa_it.name)
# port = 443
# ssl_profile_name = format("%s-ssl-profile", var.project)
# firewall_policy_id = null

# certificate = {
# name = var.certificates.licences_ipatente_io_pagopa_it
# id = data.azurerm_key_vault_certificate.app_gw_licences_ipatente_io.versionless_secret_id
# }
# }
vehicles-ipatente-io-pagopa-it = {
protocol = "Https"
host = format("vehicles.%s", var.public_dns_zones.ipatente_io_pagopa_it.name)
port = 443
ssl_profile_name = format("%s-ssl-profile", var.project)
firewall_policy_id = null

certificate = {
name = var.certificates.vehicles_ipatente_io_pagopa_it
id = data.azurerm_key_vault_certificate.app_gw_vehicles_ipatente_io.versionless_secret_id
}
}

licences-ipatente-io-pagopa-it = {
protocol = "Https"
host = format("licences.%s", var.public_dns_zones.ipatente_io_pagopa_it.name)
port = 443
ssl_profile_name = format("%s-ssl-profile", var.project)
firewall_policy_id = null

certificate = {
name = var.certificates.licences_ipatente_io_pagopa_it
id = data.azurerm_key_vault_certificate.app_gw_licences_ipatente_io.versionless_secret_id
}
}
}

# maps listener to backend
Expand Down Expand Up @@ -513,19 +513,19 @@ module "app_gw" {
priority = 120
}

# vehicles-ipatente-io-pagopa-it = {
# listener = "vehicles-ipatente-io-pagopa-it"
# backend = "vehicles-ipatente-io-app"
# rewrite_rule_set_name = "rewrite-rule-set-vehicles-ipatente-io-app"
# priority = 130
# }
vehicles-ipatente-io-pagopa-it = {
listener = "vehicles-ipatente-io-pagopa-it"
backend = "vehicles-ipatente-io-app"
rewrite_rule_set_name = "rewrite-rule-set-vehicles-ipatente-io-app"
priority = 130
}

# licences-ipatente-io-pagopa-it = {
# listener = "licences-ipatente-io-pagopa-it"
# backend = "licences-ipatente-io-app"
# rewrite_rule_set_name = "rewrite-rule-set-licences-ipatente-io-app"
# priority = 140
# }
licences-ipatente-io-pagopa-it = {
listener = "licences-ipatente-io-pagopa-it"
backend = "licences-ipatente-io-app"
rewrite_rule_set_name = "rewrite-rule-set-licences-ipatente-io-app"
priority = 131
}
}

routes_path_based = {
Expand Down

0 comments on commit 6be5ac1

Please sign in to comment.