Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set x-forwarded-host on ipatente rewrite rule #1363

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Conversation

giamma1295
Copy link
Contributor

Motivation and Context

Major Changes

Dependencies

Testing

Documentation

Other Considerations

Copy link

📖 Terraform Plan ('src/common/prod') - success

Terraform Plan
module.application_gateway_weu.data.azurerm_linux_web_app.appservice_continua: Still reading... [10s elapsed]
data.azurerm_linux_web_app.firmaconio_selfcare_web_app: Still reading... [10s elapsed]
data.azurerm_linux_function_app.io_sign_user: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.session_manager_03: Still reading... [10s elapsed]
data.azurerm_linux_function_app.eucovidcert: Still reading... [10s elapsed]
data.azurerm_linux_function_app.function_assets_cdn: Still reading... [10s elapsed]
data.azurerm_linux_function_app.io_fims_user: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.session_manager_04: Still reading... [10s elapsed]
data.azurerm_linux_function_app.app_messages_xl[0]: Still reading... [10s elapsed]
data.azurerm_linux_function_app.app_messages_xl[1]: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.appservice_devportal_be: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.cms_backoffice_app_itn: Still reading... [10s elapsed]
data.azurerm_linux_function_app.wallet_user: Still reading... [10s elapsed]
data.azurerm_linux_function_app.services_app_backend_function_app: Still reading... [10s elapsed]
data.azurerm_linux_function_app.lollipop_function: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.ipatente_practices_app_itn: Still reading... [10s elapsed]
data.azurerm_linux_function_app.function_profile[0]: Still reading... [10s elapsed]
data.azurerm_linux_function_app.function_profile[1]: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.fims_op_app: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.ipatente_licences_app_itn: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.ipatente_payments_app_itn: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.ipatente_vehicles_app_itn: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.appservice_selfcare_be: Still reading... [10s elapsed]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # module.application_gateway_weu.azurerm_web_application_firewall_policy.api_app will be updated in-place
  ~ resource "azurerm_web_application_firewall_policy" "api_app" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/io-p-waf-appgateway-api-app-policy"
        name                = "io-p-waf-appgateway-api-app-policy"
        tags                = {
            "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"   = "Terraform"
            "Environment" = "Prod"
            "Owner"       = "IO"
            "Source"      = "https://github.com/pagopa/io-infra"
        }
        # (4 unchanged attributes hidden)

      ~ policy_settings {
          ~ request_body_inspect_limit_in_kb          = 0 -> 128
            # (6 unchanged attributes hidden)
        }

        # (1 unchanged block hidden)
    }

  # module.application_gateway_weu.module.app_gw.azurerm_application_gateway.this will be updated in-place
  ~ resource "azurerm_application_gateway" "this" {
        id                                = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway"
        name                              = "io-p-appgateway"
        tags                              = {
            "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"   = "Terraform"
            "Environment" = "Prod"
            "Owner"       = "IO"
            "Source"      = "https://github.com/pagopa/io-infra"
        }
        # (8 unchanged attributes hidden)

      - request_routing_rule {
          - http_listener_id            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/api-app-io-pagopa-it-listener" -> null
          - http_listener_name          = "api-app-io-pagopa-it-listener" -> null
          - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/api-app-io-pagopa-it-reqs-routing-rule-by-path" -> null
          - name                        = "api-app-io-pagopa-it-reqs-routing-rule-by-path" -> null
          - priority                    = 70 -> null
          - rule_type                   = "PathBasedRouting" -> null
          - url_path_map_id             = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/urlPathMaps/io-backend-path-based-rule-url-map" -> null
          - url_path_map_name           = "io-backend-path-based-rule-url-map" -> null
            # (8 unchanged attributes hidden)
        }
      - request_routing_rule {
          - http_listener_id            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/app-backend-io-italia-it-listener" -> null
          - http_listener_name          = "app-backend-io-italia-it-listener" -> null
          - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/app-backend-io-italia-it-reqs-routing-rule-by-path" -> null
          - name                        = "app-backend-io-italia-it-reqs-routing-rule-by-path" -> null
          - priority                    = 40 -> null
          - rule_type                   = "PathBasedRouting" -> null
          - url_path_map_id             = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/urlPathMaps/io-backend-path-based-rule-url-map" -> null
          - url_path_map_name           = "io-backend-path-based-rule-url-map" -> null
            # (8 unchanged attributes hidden)
        }
      - request_routing_rule {
          - backend_address_pool_id     = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/apim-address-pool" -> null
          - backend_address_pool_name   = "apim-address-pool" -> null
          - backend_http_settings_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/apim-http-settings" -> null
          - backend_http_settings_name  = "apim-http-settings" -> null
          - http_listener_id            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/api-io-italia-it-listener" -> null
          - http_listener_name          = "api-io-italia-it-listener" -> null
          - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/api-io-italia-it-reqs-routing-rule" -> null
          - name                        = "api-io-italia-it-reqs-routing-rule" -> null
          - priority                    = 30 -> null
          - rewrite_rule_set_id         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-api" -> null
          - rewrite_rule_set_name       = "rewrite-rule-set-api" -> null
          - rule_type                   = "Basic" -> null
            # (4 unchanged attributes hidden)
        }
      - request_routing_rule {
          - backend_address_pool_id     = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/apim-address-pool" -> null
          - backend_address_pool_name   = "apim-address-pool" -> null
          - backend_http_settings_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/apim-http-settings" -> null
          - backend_http_settings_name  = "apim-http-settings" -> null
          - http_listener_id            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/api-io-pagopa-it-listener" -> null
          - http_listener_name          = "api-io-pagopa-it-listener" -> null
          - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/api-io-pagopa-it-reqs-routing-rule" -> null
          - name                        = "api-io-pagopa-it-reqs-routing-rule" -> null
          - priority                    = 50 -> null
          - rewrite_rule_set_id         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-api" -> null
          - rewrite_rule_set_name       = "rewrite-rule-set-api" -> null
          - rule_type                   = "Basic" -> null
            # (4 unchanged attributes hidden)
        }
      - request_routing_rule {
          - backend_address_pool_id     = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/apim-address-pool" -> null
          - backend_address_pool_name   = "apim-address-pool" -> null
          - backend_http_settings_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/apim-http-settings" -> null
          - backend_http_settings_name  = "apim-http-settings" -> null
          - http_listener_id            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/api-mtls-io-pagopa-it-listener" -> null
          - http_listener_name          = "api-mtls-io-pagopa-it-listener" -> null
          - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/api-mtls-io-pagopa-it-reqs-routing-rule" -> null
          - name                        = "api-mtls-io-pagopa-it-reqs-routing-rule" -> null
          - priority                    = 10 -> null
          - rewrite_rule_set_id         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-api-mtls" -> null
          - rewrite_rule_set_name       = "rewrite-rule-set-api-mtls" -> null
          - rule_type                   = "Basic" -> null
            # (4 unchanged attributes hidden)
        }
      - request_routing_rule {
          - backend_address_pool_id     = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/apim-address-pool" -> null
          - backend_address_pool_name   = "apim-address-pool" -> null
          - backend_http_settings_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/apim-http-settings" -> null
          - backend_http_settings_name  = "apim-http-settings" -> null
          - http_listener_id            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/api-web-io-pagopa-it-listener" -> null
          - http_listener_name          = "api-web-io-pagopa-it-listener" -> null
          - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/api-web-io-pagopa-it-reqs-routing-rule" -> null
          - name                        = "api-web-io-pagopa-it-reqs-routing-rule" -> null
          - priority                    = 100 -> null
          - rewrite_rule_set_id         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-api-web" -> null
          - rewrite_rule_set_name       = "rewrite-rule-set-api-web" -> null
          - rule_type                   = "Basic" -> null
            # (4 unchanged attributes hidden)
        }
      - request_routing_rule {
          - backend_address_pool_id     = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/continua-app-address-pool" -> null
          - backend_address_pool_name   = "continua-app-address-pool" -> null
          - backend_http_settings_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/continua-app-http-settings" -> null
          - backend_http_settings_name  = "continua-app-http-settings" -> null
          - http_listener_id            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/continua-io-pagopa-it-listener" -> null
          - http_listener_name          = "continua-io-pagopa-it-listener" -> null
          - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/continua-io-pagopa-it-reqs-routing-rule" -> null
          - name                        = "continua-io-pagopa-it-reqs-routing-rule" -> null
          - priority                    = 80 -> null
          - rewrite_rule_set_id         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-continua" -> null
          - rewrite_rule_set_name       = "rewrite-rule-set-continua" -> null
          - rule_type                   = "Basic" -> null
            # (4 unchanged attributes hidden)
        }
      - request_routing_rule {
          - backend_address_pool_id     = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/developerportal-backend-address-pool" -> null
          - backend_address_pool_name   = "developerportal-backend-address-pool" -> null
          - backend_http_settings_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/developerportal-backend-http-settings" -> null
          - backend_http_settings_name  = "developerportal-backend-http-settings" -> null
          - http_listener_id            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/developerportal-backend-io-italia-it-listener" -> null
          - http_listener_name          = "developerportal-backend-io-italia-it-listener" -> null
          - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/developerportal-backend-io-italia-it-reqs-routing-rule" -> null
          - name                        = "developerportal-backend-io-italia-it-reqs-routing-rule" -> null
          - priority                    = 20 -> null
          - rewrite_rule_set_id         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-developerportal-backend" -> null
          - rewrite_rule_set_name       = "rewrite-rule-set-developerportal-backend" -> null
          - rule_type                   = "Basic" -> null
            # (4 unchanged attributes hidden)
        }
      - request_routing_rule {
          - backend_address_pool_id     = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/fims-op-app-address-pool" -> null
          - backend_address_pool_name   = "fims-op-app-address-pool" -> null
          - backend_http_settings_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/fims-op-app-http-settings" -> null
          - backend_http_settings_name  = "fims-op-app-http-settings" -> null
          - http_listener_id            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/oauth-io-pagopa-it-listener" -> null
          - http_listener_name          = "oauth-io-pagopa-it-listener" -> null
          - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/oauth-io-pagopa-it-reqs-routing-rule" -> null
          - name                        = "oauth-io-pagopa-it-reqs-routing-rule" -> null
          - priority                    = 120 -> null
          - rewrite_rule_set_id         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-fims-op-app" -> null
          - rewrite_rule_set_name       = "rewrite-rule-set-fims-op-app" -> null
          - rule_type                   = "Basic" -> null
            # (4 unchanged attributes hidden)
        }
      - request_routing_rule {
          - backend_address_pool_id     = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/firmaconio-selfcare-backend-address-pool" -> null
          - backend_address_pool_name   = "firmaconio-selfcare-backend-address-pool" -> null
          - backend_http_settings_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/firmaconio-selfcare-backend-http-settings" -> null
          - backend_http_settings_name  = "firmaconio-selfcare-backend-http-settings" -> null
          - http_listener_id            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/firmaconio-selfcare-pagopa-it-listener" -> null
          - http_listener_name          = "firmaconio-selfcare-pagopa-it-listener" -> null
          - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/firmaconio-selfcare-pagopa-it-reqs-routing-rule" -> null
          - name                        = "firmaconio-selfcare-pagopa-it-reqs-routing-rule" -> null
          - priority                    = 90 -> null
          - rewrite_rule_set_id         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-firmaconio-selfcare-backend" -> null
          - rewrite_rule_set_name       = "rewrite-rule-set-firmaconio-selfcare-backend" -> null
          - rule_type                   = "Basic" -> null
            # (4 unchanged attributes hidden)
        }
      - request_routing_rule {
          - backend_address_pool_id     = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/licences-ipatente-io-app-address-pool" -> null
          - backend_address_pool_name   = "licences-ipatente-io-app-address-pool" -> null
          - backend_http_settings_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/licences-ipatente-io-app-http-settings" -> null
          - backend_http_settings_name  = "licences-ipatente-io-app-http-settings" -> null
          - http_listener_id            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/licences-ipatente-io-pagopa-it-listener" -> null
          - http_listener_name          = "licences-ipatente-io-pagopa-it-listener" -> null
          - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/licences-ipatente-io-pagopa-it-reqs-routing-rule" -> null
          - name                        = "licences-ipatente-io-pagopa-it-reqs-routing-rule" -> null
          - priority                    = 131 -> null
          - rewrite_rule_set_id         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-licences-ipatente-io-app" -> null
          - rewrite_rule_set_name       = "rewrite-rule-set-licences-ipatente-io-app" -> null
          - rule_type                   = "Basic" -> null
            # (4 unchanged attributes hidden)
        }
      - request_routing_rule {
          - backend_address_pool_id     = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/selfcare-backend-address-pool" -> null
          - backend_address_pool_name   = "selfcare-backend-address-pool" -> null
          - backend_http_settings_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/selfcare-backend-http-settings" -> null
          - backend_http_settings_name  = "selfcare-backend-http-settings" -> null
          - http_listener_id            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/api-io-selfcare-pagopa-it-listener" -> null
          - http_listener_name          = "api-io-selfcare-pagopa-it-listener" -> null
          - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/api-io-selfcare-pagopa-it-reqs-routing-rule" -> null
          - name                        = "api-io-selfcare-pagopa-it-reqs-routing-rule" -> null
          - priority                    = 60 -> null
          - rewrite_rule_set_id         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-selfcare-backend" -> null
          - rewrite_rule_set_name       = "rewrite-rule-set-selfcare-backend" -> null
          - rule_type                   = "Basic" -> null
            # (4 unchanged attributes hidden)
        }
      - request_routing_rule {
          - backend_address_pool_id     = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/selfcare-io-app-address-pool" -> null
          - backend_address_pool_name   = "selfcare-io-app-address-pool" -> null
          - backend_http_settings_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/selfcare-io-app-http-settings" -> null
          - backend_http_settings_name  = "selfcare-io-app-http-settings" -> null
          - http_listener_id            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/selfcare-io-pagopa-it-listener" -> null
          - http_listener_name          = "selfcare-io-pagopa-it-listener" -> null
          - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/selfcare-io-pagopa-it-reqs-routing-rule" -> null
          - name                        = "selfcare-io-pagopa-it-reqs-routing-rule" -> null
          - priority                    = 110 -> null
          - rewrite_rule_set_id         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-selfcare-io" -> null
          - rewrite_rule_set_name       = "rewrite-rule-set-selfcare-io" -> null
          - rule_type                   = "Basic" -> null
            # (4 unchanged attributes hidden)
        }
      - request_routing_rule {
          - backend_address_pool_id     = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/vehicles-ipatente-io-app-address-pool" -> null
          - backend_address_pool_name   = "vehicles-ipatente-io-app-address-pool" -> null
          - backend_http_settings_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/vehicles-ipatente-io-app-http-settings" -> null
          - backend_http_settings_name  = "vehicles-ipatente-io-app-http-settings" -> null
          - http_listener_id            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/vehicles-ipatente-io-pagopa-it-listener" -> null
          - http_listener_name          = "vehicles-ipatente-io-pagopa-it-listener" -> null
          - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/vehicles-ipatente-io-pagopa-it-reqs-routing-rule" -> null
          - name                        = "vehicles-ipatente-io-pagopa-it-reqs-routing-rule" -> null
          - priority                    = 130 -> null
          - rewrite_rule_set_id         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-vehicles-ipatente-io-app" -> null
          - rewrite_rule_set_name       = "rewrite-rule-set-vehicles-ipatente-io-app" -> null
          - rule_type                   = "Basic" -> null
            # (4 unchanged attributes hidden)
        }
      + request_routing_rule {
          + http_listener_id          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/api-app-io-pagopa-it-listener"
          + http_listener_name        = "api-app-io-pagopa-it-listener"
          + id                        = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/api-app-io-pagopa-it-reqs-routing-rule-by-path"
          + name                      = "api-app-io-pagopa-it-reqs-routing-rule-by-path"
          + priority                  = 70
          + rule_type                 = "PathBasedRouting"
          + url_path_map_id           = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/urlPathMaps/io-backend-path-based-rule-url-map"
          + url_path_map_name         = "io-backend-path-based-rule-url-map"
            # (4 unchanged attributes hidden)
        }
      + request_routing_rule {
          + http_listener_id          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/app-backend-io-italia-it-listener"
          + http_listener_name        = "app-backend-io-italia-it-listener"
          + id                        = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/app-backend-io-italia-it-reqs-routing-rule-by-path"
          + name                      = "app-backend-io-italia-it-reqs-routing-rule-by-path"
          + priority                  = 40
          + rule_type                 = "PathBasedRouting"
          + url_path_map_id           = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/urlPathMaps/io-backend-path-based-rule-url-map"
          + url_path_map_name         = "io-backend-path-based-rule-url-map"
            # (4 unchanged attributes hidden)
        }
      + request_routing_rule {
          + backend_address_pool_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/apim-address-pool"
          + backend_address_pool_name  = "apim-address-pool"
          + backend_http_settings_id   = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/apim-http-settings"
          + backend_http_settings_name = "apim-http-settings"
          + http_listener_id           = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/api-io-italia-it-listener"
          + http_listener_name         = "api-io-italia-it-listener"
          + id                         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/api-io-italia-it-reqs-routing-rule"
          + name                       = "api-io-italia-it-reqs-routing-rule"
          + priority                   = 30
          + rewrite_rule_set_id        = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-api"
          + rewrite_rule_set_name      = "rewrite-rule-set-api"
          + rule_type                  = "Basic"
            # (2 unchanged attributes hidden)
        }
      + request_routing_rule {
          + backend_address_pool_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/apim-address-pool"
          + backend_address_pool_name  = "apim-address-pool"
          + backend_http_settings_id   = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/apim-http-settings"
          + backend_http_settings_name = "apim-http-settings"
          + http_listener_id           = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/api-io-pagopa-it-listener"
          + http_listener_name         = "api-io-pagopa-it-listener"
          + id                         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/api-io-pagopa-it-reqs-routing-rule"
          + name                       = "api-io-pagopa-it-reqs-routing-rule"
          + priority                   = 50
          + rewrite_rule_set_id        = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-api"
          + rewrite_rule_set_name      = "rewrite-rule-set-api"
          + rule_type                  = "Basic"
            # (2 unchanged attributes hidden)
        }
      + request_routing_rule {
          + backend_address_pool_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/apim-address-pool"
          + backend_address_pool_name  = "apim-address-pool"
          + backend_http_settings_id   = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/apim-http-settings"
          + backend_http_settings_name = "apim-http-settings"
          + http_listener_id           = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/api-mtls-io-pagopa-it-listener"
          + http_listener_name         = "api-mtls-io-pagopa-it-listener"
          + id                         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/api-mtls-io-pagopa-it-reqs-routing-rule"
          + name                       = "api-mtls-io-pagopa-it-reqs-routing-rule"
          + priority                   = 10
          + rewrite_rule_set_id        = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-api-mtls"
          + rewrite_rule_set_name      = "rewrite-rule-set-api-mtls"
          + rule_type                  = "Basic"
            # (2 unchanged attributes hidden)
        }
      + request_routing_rule {
          + backend_address_pool_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/apim-address-pool"
          + backend_address_pool_name  = "apim-address-pool"
          + backend_http_settings_id   = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/apim-http-settings"
          + backend_http_settings_name = "apim-http-settings"
          + http_listener_id           = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/api-web-io-pagopa-it-listener"
          + http_listener_name         = "api-web-io-pagopa-it-listener"
          + id                         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/api-web-io-pagopa-it-reqs-routing-rule"
          + name                       = "api-web-io-pagopa-it-reqs-routing-rule"
          + priority                   = 100
          + rewrite_rule_set_id        = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-api-web"
          + rewrite_rule_set_name      = "rewrite-rule-set-api-web"
          + rule_type                  = "Basic"
            # (2 unchanged attributes hidden)
        }
      + request_routing_rule {
          + backend_address_pool_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/continua-app-address-pool"
          + backend_address_pool_name  = "continua-app-address-pool"
          + backend_http_settings_id   = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/continua-app-http-settings"
          + backend_http_settings_name = "continua-app-http-settings"
          + http_listener_id           = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/continua-io-pagopa-it-listener"
          + http_listener_name         = "continua-io-pagopa-it-listener"
          + id                         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/continua-io-pagopa-it-reqs-routing-rule"
          + name                       = "continua-io-pagopa-it-reqs-routing-rule"
          + priority                   = 80
          + rewrite_rule_set_id        = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-continua"
          + rewrite_rule_set_name      = "rewrite-rule-set-continua"
          + rule_type                  = "Basic"
            # (2 unchanged attributes hidden)
        }
      + request_routing_rule {
          + backend_address_pool_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/developerportal-backend-address-pool"
          + backend_address_pool_name  = "developerportal-backend-address-pool"
          + backend_http_settings_id   = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/developerportal-backend-http-settings"
          + backend_http_settings_name = "developerportal-backend-http-settings"
          + http_listener_id           = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/developerportal-backend-io-italia-it-listener"
          + http_listener_name         = "developerportal-backend-io-italia-it-listener"
          + id                         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/developerportal-backend-io-italia-it-reqs-routing-rule"
          + name                       = "developerportal-backend-io-italia-it-reqs-routing-rule"
          + priority                   = 20
          + rewrite_rule_set_id        = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-developerportal-backend"
          + rewrite_rule_set_name      = "rewrite-rule-set-developerportal-backend"
          + rule_type                  = "Basic"
            # (2 unchanged attributes hidden)
        }
      + request_routing_rule {
          + backend_address_pool_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/fims-op-app-address-pool"
          + backend_address_pool_name  = "fims-op-app-address-pool"
          + backend_http_settings_id   = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/fims-op-app-http-settings"
          + backend_http_settings_name = "fims-op-app-http-settings"
          + http_listener_id           = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/oauth-io-pagopa-it-listener"
          + http_listener_name         = "oauth-io-pagopa-it-listener"
          + id                         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/oauth-io-pagopa-it-reqs-routing-rule"
          + name                       = "oauth-io-pagopa-it-reqs-routing-rule"
          + priority                   = 120
          + rewrite_rule_set_id        = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-fims-op-app"
          + rewrite_rule_set_name      = "rewrite-rule-set-fims-op-app"
          + rule_type                  = "Basic"
            # (2 unchanged attributes hidden)
        }
      + request_routing_rule {
          + backend_address_pool_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/firmaconio-selfcare-backend-address-pool"
          + backend_address_pool_name  = "firmaconio-selfcare-backend-address-pool"
          + backend_http_settings_id   = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/firmaconio-selfcare-backend-http-settings"
          + backend_http_settings_name = "firmaconio-selfcare-backend-http-settings"
          + http_listener_id           = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/firmaconio-selfcare-pagopa-it-listener"
          + http_listener_name         = "firmaconio-selfcare-pagopa-it-listener"
          + id                         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/firmaconio-selfcare-pagopa-it-reqs-routing-rule"
          + name                       = "firmaconio-selfcare-pagopa-it-reqs-routing-rule"
          + priority                   = 90
          + rewrite_rule_set_id        = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-firmaconio-selfcare-backend"
          + rewrite_rule_set_name      = "rewrite-rule-set-firmaconio-selfcare-backend"
          + rule_type                  = "Basic"
            # (2 unchanged attributes hidden)
        }
      + request_routing_rule {
          + backend_address_pool_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/selfcare-backend-address-pool"
          + backend_address_pool_name  = "selfcare-backend-address-pool"
          + backend_http_settings_id   = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/selfcare-backend-http-settings"
          + backend_http_settings_name = "selfcare-backend-http-settings"
          + http_listener_id           = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/api-io-selfcare-pagopa-it-listener"
          + http_listener_name         = "api-io-selfcare-pagopa-it-listener"
          + id                         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/api-io-selfcare-pagopa-it-reqs-routing-rule"
          + name                       = "api-io-selfcare-pagopa-it-reqs-routing-rule"
          + priority                   = 60
          + rewrite_rule_set_id        = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-selfcare-backend"
          + rewrite_rule_set_name      = "rewrite-rule-set-selfcare-backend"
          + rule_type                  = "Basic"
            # (2 unchanged attributes hidden)
        }
      + request_routing_rule {
          + backend_address_pool_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/selfcare-io-app-address-pool"
          + backend_address_pool_name  = "selfcare-io-app-address-pool"
          + backend_http_settings_id   = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/selfcare-io-app-http-settings"
          + backend_http_settings_name = "selfcare-io-app-http-settings"
          + http_listener_id           = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/selfcare-io-pagopa-it-listener"
          + http_listener_name         = "selfcare-io-pagopa-it-listener"
          + id                         = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/requestRoutingRules/selfcare-io-pagopa-it-reqs-routing-rule"
          + name                       = "selfcare-io-pagopa-it-reqs-routing-rule"
          + priority                   = 110
          + rewrite_rule_set_id        = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-selfcare-io"
          + rewrite_rule_set_name      = "rewrite-rule-set-selfcare-io"
          + rule_type                  = "Basic"
            # (2 unchanged attributes hidden)
        }
      + request_routing_rule {
          + backend_address_pool_id     = (known after apply)
          + backend_address_pool_name   = "licences-ipatente-io-app-address-pool"
          + backend_http_settings_id    = (known after apply)
          + backend_http_settings_name  = "licences-ipatente-io-app-http-settings"
          + http_listener_id            = (known after apply)
          + http_listener_name          = "licences-ipatente-io-pagopa-it-listener"
          + id                          = (known after apply)
          + name                        = "licences-ipatente-io-pagopa-it-reqs-routing-rule"
          + priority                    = 131
          + redirect_configuration_id   = (known after apply)
          + rewrite_rule_set_id         = (known after apply)
          + rewrite_rule_set_name       = "rewrite-rule-set-ipatente-io-app"
          + rule_type                   = "Basic"
          + url_path_map_id             = (known after apply)
            # (2 unchanged attributes hidden)
        }
      + request_routing_rule {
          + backend_address_pool_id     = (known after apply)
          + backend_address_pool_name   = "vehicles-ipatente-io-app-address-pool"
          + backend_http_settings_id    = (known after apply)
          + backend_http_settings_name  = "vehicles-ipatente-io-app-http-settings"
          + http_listener_id            = (known after apply)
          + http_listener_name          = "vehicles-ipatente-io-pagopa-it-listener"
          + id                          = (known after apply)
          + name                        = "vehicles-ipatente-io-pagopa-it-reqs-routing-rule"
          + priority                    = 130
          + redirect_configuration_id   = (known after apply)
          + rewrite_rule_set_id         = (known after apply)
          + rewrite_rule_set_name       = "rewrite-rule-set-ipatente-io-app"
          + rule_type                   = "Basic"
          + url_path_map_id             = (known after apply)
            # (2 unchanged attributes hidden)
        }

      ~ rewrite_rule_set {
            id   = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-vehicles-ipatente-io-app"
          ~ name = "rewrite-rule-set-vehicles-ipatente-io-app" -> "rewrite-rule-set-ipatente-io-app"

          ~ rewrite_rule {
              ~ name          = "http-headers-api-app" -> "http-headers-fims-op-app"
                # (1 unchanged attribute hidden)

              ~ request_header_configuration {
                  ~ header_name  = "X-Client-Ip" -> "X-Forwarded-Host"
                  ~ header_value = "{var_client_ip}" -> "{var_host}"
                }
              + request_header_configuration {
                  + header_name  = "X-Client-Ip"
                  + header_value = "{var_client_ip}"
                }

                # (1 unchanged block hidden)
            }
        }
      - rewrite_rule_set {
          - id   = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-licences-ipatente-io-app" -> null
          - name = "rewrite-rule-set-licences-ipatente-io-app" -> null

          - rewrite_rule {
              - name          = "http-headers-api-app" -> null
              - rule_sequence = 100 -> null

              - request_header_configuration {
                  - header_name  = "X-Forwarded-For" -> null
                  - header_value = "{var_client_ip}" -> null
                }
              - request_header_configuration {
                  - header_name  = "X-Client-Ip" -> null
                  - header_value = "{var_client_ip}" -> null
                }
            }
        }
      - rewrite_rule_set {
          - id   = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-payments-ipatente-io-app" -> null
          - name = "rewrite-rule-set-payments-ipatente-io-app" -> null

          - rewrite_rule {
              - name          = "http-headers-api-app" -> null
              - rule_sequence = 100 -> null

              - request_header_configuration {
                  - header_name  = "X-Forwarded-For" -> null
                  - header_value = "{var_client_ip}" -> null
                }
              - request_header_configuration {
                  - header_name  = "X-Client-Ip" -> null
                  - header_value = "{var_client_ip}" -> null
                }
            }
        }
      - rewrite_rule_set {
          - id   = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/rewriteRuleSets/rewrite-rule-set-practices-ipatente-io-app" -> null
          - name = "rewrite-rule-set-practices-ipatente-io-app" -> null

          - rewrite_rule {
              - name          = "http-headers-api-app" -> null
              - rule_sequence = 100 -> null

              - request_header_configuration {
                  - header_name  = "X-Forwarded-For" -> null
                  - header_value = "{var_client_ip}" -> null
                }
              - request_header_configuration {
                  - header_name  = "X-Client-Ip" -> null
                  - header_value = "{var_client_ip}" -> null
                }
            }
        }

        # (91 unchanged blocks hidden)
    }

Plan: 0 to add, 2 to change, 0 to destroy.

Warning: Argument is deprecated

  with module.application_gateway_weu.azurerm_web_application_firewall_policy.api_app,
  on ../_modules/application_gateway/firewall.tf line 62, in resource "azurerm_web_application_firewall_policy" "api_app":
  62:         disabled_rules = [
  63:           "942100",
  64:           "942120",
  65:           "942190",
  66:           "942200",
  67:           "942210",
  68:           "942240",
  69:           "942250",
  70:           "942260",
  71:           "942330",
  72:           "942340",
  73:           "942370",
  74:           "942380",
  75:           "942430",
  76:           "942440",
  77:           "942450",
  78:         ]

`disabled_rules` will be removed in favour of the `rule` property in version
4.0 of the AzureRM Provider.

(and 53 more similar warnings elsewhere)

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

@giamma1295 giamma1295 added this pull request to the merge queue Dec 11, 2024
Merged via the queue into main with commit e38c617 Dec 11, 2024
6 checks passed
@giamma1295 giamma1295 deleted the rewrite-rule-ipatente branch December 11, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants