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

[IOPAE-1529] Setup ApplicationGateway for iPatente applications #1325

Merged
merged 9 commits into from
Nov 21, 2024

Conversation

giamma1295
Copy link
Contributor

@giamma1295 giamma1295 commented Nov 20, 2024

Motivation and Context

Setup Application Gateway for Vehicles and Licences iPatente app.

Major Changes

  • Add Vehicles and Licences A Record on iPatente dnsZone
  • Create listener, route and all necessary to expose the mentioned above iPatente application through applicationGateway

Dependencies

Testing

Documentation

Other Considerations

Copy link

sonarcloud bot commented Nov 21, 2024

Copy link

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

Terraform Plan
da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-selfcare-backend"
          + interval                                  = 30
          + minimum_servers                           = 0
          + name                                      = "probe-selfcare-backend"
          + path                                      = "/info"
          + pick_host_name_from_backend_http_settings = true
          + protocol                                  = "Https"
          + timeout                                   = 30
          + unhealthy_threshold                       = 3

          + match {
              + status_code = [
                  + "200-399",
                ]
            }
        }
      + probe {
          + id                                        = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-selfcare-io-app"
          + interval                                  = 30
          + minimum_servers                           = 0
          + name                                      = "probe-selfcare-io-app"
          + path                                      = "/api/info"
          + pick_host_name_from_backend_http_settings = true
          + protocol                                  = "Https"
          + timeout                                   = 30
          + unhealthy_threshold                       = 3

          + match {
              + status_code = [
                  + "200-399",
                ]
            }
        }
      + probe {
          + id                                        = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-session-manager-app"
          + interval                                  = 30
          + minimum_servers                           = 0
          + name                                      = "probe-session-manager-app"
          + path                                      = "/healthcheck"
          + pick_host_name_from_backend_http_settings = true
          + protocol                                  = "Https"
          + timeout                                   = 30
          + unhealthy_threshold                       = 3

          + match {
              + status_code = [
                  + "200-399",
                ]
            }
        }

      - 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 {
          - http_listener_id            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/httpListeners/ipatente-io-pagopa-it-listener" -> null
          - http_listener_name          = "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/ipatente-io-pagopa-it-reqs-routing-rule-by-path" -> null
          - name                        = "ipatente-io-pagopa-it-reqs-routing-rule-by-path" -> null
          - priority                    = 130 -> 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-ipatente-path-based-rule-url-map" -> null
          - url_path_map_name           = "io-ipatente-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/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 {
          + 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)
        }

      ~ 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-app-remove-base-path-ipatente-vehicles"
          ~ name = "rewrite-rule-set-api-app-remove-base-path-ipatente-vehicles" -> "rewrite-rule-set-vehicles-ipatente-io-app"

          - rewrite_rule {
              - name          = "strip_base_ipatente_vehicles_path" -> null
              - rule_sequence = 200 -> null

              - condition {
                  - ignore_case = true -> null
                  - negate      = false -> null
                  - pattern     = "/veh/(.*)" -> null
                  - variable    = "var_uri_path" -> null
                }

              - url {
                  - components   = "path_only" -> null
                  - path         = "/{var_uri_path_1}" -> null
                  - reroute      = false -> null
                    # (1 unchanged attribute hidden)
                }
            }

            # (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-api-app-remove-base-path-ipatente-licences"
          ~ name = "rewrite-rule-set-api-app-remove-base-path-ipatente-licences" -> "rewrite-rule-set-licences-ipatente-io-app"

          - rewrite_rule {
              - name          = "strip_base_ipatente_licences_path" -> null
              - rule_sequence = 200 -> null

              - condition {
                  - ignore_case = true -> null
                  - negate      = false -> null
                  - pattern     = "/lic/(.*)" -> null
                  - variable    = "var_uri_path" -> null
                }

              - url {
                  - components   = "path_only" -> null
                  - path         = "/{var_uri_path_1}" -> null
                  - reroute      = false -> null
                    # (1 unchanged attribute hidden)
                }
            }

            # (1 unchanged block hidden)
        }

      - ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + ssl_certificate {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }

      - url_path_map {
          - default_backend_address_pool_id     = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/ipatente-vehicles-io-app-address-pool" -> null
          - default_backend_address_pool_name   = "ipatente-vehicles-io-app-address-pool" -> null
          - default_backend_http_settings_id    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/ipatente-vehicles-io-app-http-settings" -> null
          - default_backend_http_settings_name  = "ipatente-vehicles-io-app-http-settings" -> null
          - default_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-app" -> null
          - default_rewrite_rule_set_name       = "rewrite-rule-set-api-app" -> null
          - id                                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/urlPathMaps/io-ipatente-path-based-rule-url-map" -> null
          - name                                = "io-ipatente-path-based-rule-url-map" -> null
            # (2 unchanged attributes hidden)

          - path_rule {
              - backend_address_pool_id     = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/ipatente-licences-io-app-address-pool" -> null
              - backend_address_pool_name   = "ipatente-licences-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/ipatente-licences-io-app-http-settings" -> null
              - backend_http_settings_name  = "ipatente-licences-io-app-http-settings" -> null
              - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/urlPathMaps/io-ipatente-path-based-rule-url-map/pathRules/ipatente-licences" -> null
              - name                        = "ipatente-licences" -> null
              - paths                       = [
                  - "/lic/*",
                ] -> 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-app-remove-base-path-ipatente-licences" -> null
              - rewrite_rule_set_name       = "rewrite-rule-set-api-app-remove-base-path-ipatente-licences" -> null
                # (3 unchanged attributes hidden)
            }
          - path_rule {
              - backend_address_pool_id     = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendAddressPools/ipatente-vehicles-io-app-address-pool" -> null
              - backend_address_pool_name   = "ipatente-vehicles-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/ipatente-vehicles-io-app-http-settings" -> null
              - backend_http_settings_name  = "ipatente-vehicles-io-app-http-settings" -> null
              - id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/urlPathMaps/io-ipatente-path-based-rule-url-map/pathRules/ipatente-vehicles" -> null
              - name                        = "ipatente-vehicles" -> null
              - paths                       = [
                  - "/veh/*",
                ] -> 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-app-remove-base-path-ipatente-vehicles" -> null
              - rewrite_rule_set_name       = "rewrite-rule-set-api-app-remove-base-path-ipatente-vehicles" -> null
                # (3 unchanged attributes hidden)
            }
        }

        # (33 unchanged blocks hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.ipatente_io_pagopa_it will be destroyed
  # (because azurerm_dns_a_record.ipatente_io_pagopa_it is not in configuration)
  - resource "azurerm_dns_a_record" "ipatente_io_pagopa_it" {
      - fqdn                = "ipatente.io.pagopa.it." -> null
      - id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.pagopa.it/A/ipatente" -> null
      - name                = "ipatente" -> null
      - records             = [
          - "20.56.186.217",
        ] -> null
      - resource_group_name = "io-p-rg-external" -> null
      - tags                = {
          - "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
          - "CreatedBy"   = "Terraform"
          - "Environment" = "Prod"
          - "Owner"       = "IO"
          - "Source"      = "https://github.com/pagopa/io-infra"
        } -> null
      - ttl                 = 3600 -> null
      - zone_name           = "io.pagopa.it" -> null
        # (1 unchanged attribute hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.licences_ipatente_io_pagopa_it will be created
  + resource "azurerm_dns_a_record" "licences_ipatente_io_pagopa_it" {
      + fqdn                = (known after apply)
      + id                  = (known after apply)
      + name                = "licences"
      + records             = [
          + "20.56.186.217",
        ]
      + resource_group_name = "io-p-rg-external"
      + tags                = {
          + "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
          + "CreatedBy"   = "Terraform"
          + "Environment" = "Prod"
          + "Owner"       = "IO"
          + "Source"      = "https://github.com/pagopa/io-infra"
        }
      + ttl                 = 3600
      + zone_name           = "ipatente.io.pagopa.it"
    }

  # module.global.module.dns.azurerm_dns_a_record.vehicles_ipatente_io_pagopa_it will be created
  + resource "azurerm_dns_a_record" "vehicles_ipatente_io_pagopa_it" {
      + fqdn                = (known after apply)
      + id                  = (known after apply)
      + name                = "vehicles"
      + records             = [
          + "20.56.186.217",
        ]
      + resource_group_name = "io-p-rg-external"
      + tags                = {
          + "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
          + "CreatedBy"   = "Terraform"
          + "Environment" = "Prod"
          + "Owner"       = "IO"
          + "Source"      = "https://github.com/pagopa/io-infra"
        }
      + ttl                 = 3600
      + zone_name           = "ipatente.io.pagopa.it"
    }

Plan: 2 to add, 8 to change, 1 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.

@Krusty93 Krusty93 added this pull request to the merge queue Nov 21, 2024
Merged via the queue into main with commit 44caef7 Nov 21, 2024
5 checks passed
@Krusty93 Krusty93 deleted the IOPAE-1529-ipatente-appgateway-config branch November 21, 2024 14:14
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.

3 participants