-
Notifications
You must be signed in to change notification settings - Fork 5
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-1639] add selfcare eventhub private endpoint #1356
Merged
rodoviti
merged 1 commit into
main
from
IOPAE-1639-selc-eh-private-endpoint-integration
Dec 10, 2024
Merged
[IOPAE-1639] add selfcare eventhub private endpoint #1356
rodoviti
merged 1 commit into
main
from
IOPAE-1639-selc-eh-private-endpoint-integration
Dec 10, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Quality Gate passedIssues Measures |
📖 Terraform Plan ('src/common/prod') - successTerraform Plan10s 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]
data.azurerm_linux_function_app.eucovidcert: 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.function_profile[0]: Still reading... [10s elapsed]
data.azurerm_linux_function_app.function_profile[1]: Still reading... [10s elapsed]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place
- destroy
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.monitoring_weu.azurerm_monitor_action_group.trial_system_error will be destroyed
# (because azurerm_monitor_action_group.trial_system_error is not in configuration)
- resource "azurerm_monitor_action_group" "trial_system_error" {
- enabled = true -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Insights/actionGroups/ioptrialsystemerror" -> null
- location = "global" -> null
- name = "ioptrialsystemerror" -> null
- resource_group_name = "io-p-rg-common" -> null
- short_name = "ioptserr" -> null
- tags = {
- "CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
- "CreatedBy" = "Terraform"
- "Environment" = "Prod"
- "Owner" = "IO"
- "Source" = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
} -> null
- email_receiver {
- email_address = (sensitive value) -> null
- name = "slack" -> null
- use_common_alert_schema = true -> null
}
}
# module.private_endpoints.azurerm_private_endpoint.this["selc-evhns-pep-01"] will be created
+ resource "azurerm_private_endpoint" "this" {
+ custom_dns_configs = (known after apply)
+ id = (known after apply)
+ location = "italynorth"
+ name = "io-p-itn-selc-evhns-pep-01"
+ network_interface = (known after apply)
+ private_dns_zone_configs = (known after apply)
+ resource_group_name = "io-p-itn-common-rg-01"
+ subnet_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-common-rg-01/providers/Microsoft.Network/virtualNetworks/io-p-itn-common-vnet-01/subnets/io-p-itn-pep-snet-01"
+ tags = {
+ "CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
+ "CreatedBy" = "Terraform"
+ "Environment" = "Prod"
+ "Owner" = "IO"
+ "Source" = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
}
+ private_dns_zone_group {
+ id = (known after apply)
+ name = "private-dns-zone-group"
+ private_dns_zone_ids = [
+ "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.Network/privateDnsZones/privatelink.servicebus.windows.net",
]
}
+ private_service_connection {
+ is_manual_connection = false
+ name = "io-p-itn-selc-evhns-pep-01"
+ private_connection_resource_id = "/subscriptions/813119d7-0943-46ed-8ebe-cebe24f9106c/resourceGroups/selc-p-event-rg/providers/Microsoft.EventHub/namespaces/selc-p-eventhub-ns"
+ private_ip_address = (known after apply)
+ subresource_names = [
+ "namespace",
]
}
}
# 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)
+ backend_address_pool {
+ fqdns = [
+ "io-p-itn-ipatente-payments-app-01.azurewebsites.net",
]
+ id = (known after apply)
+ ip_addresses = []
+ name = "payments-ipatente-io-app-address-pool"
}
+ backend_address_pool {
+ fqdns = [
+ "io-p-itn-ipatente-practices-app-01.azurewebsites.net",
]
+ id = (known after apply)
+ ip_addresses = []
+ name = "practices-ipatente-io-app-address-pool"
}
- backend_http_settings {
- affinity_cookie_name = "ApplicationGatewayAffinity" -> null
- cookie_based_affinity = "Disabled" -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/appbackend-app-http-settings" -> null
- name = "appbackend-app-http-settings" -> null
- pick_host_name_from_backend_address = true -> null
- port = 443 -> null
- probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-appbackend-app" -> null
- probe_name = "probe-appbackend-app" -> null
- protocol = "Https" -> null
- request_timeout = 10 -> null
- trusted_root_certificate_names = [] -> null
# (2 unchanged attributes hidden)
}
- backend_http_settings {
- affinity_cookie_name = "ApplicationGatewayAffinity" -> null
- cookie_based_affinity = "Disabled" -> null
- 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
- name = "continua-app-http-settings" -> null
- pick_host_name_from_backend_address = true -> null
- port = 443 -> null
- probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-continua-app" -> null
- probe_name = "probe-continua-app" -> null
- protocol = "Https" -> null
- request_timeout = 10 -> null
- trusted_root_certificate_names = [] -> null
# (2 unchanged attributes hidden)
}
- backend_http_settings {
- affinity_cookie_name = "ApplicationGatewayAffinity" -> null
- cookie_based_affinity = "Disabled" -> null
- 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
- name = "developerportal-backend-http-settings" -> null
- pick_host_name_from_backend_address = true -> null
- port = 443 -> null
- probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-developerportal-backend" -> null
- probe_name = "probe-developerportal-backend" -> null
- protocol = "Https" -> null
- request_timeout = 180 -> null
- trusted_root_certificate_names = [] -> null
# (2 unchanged attributes hidden)
}
- backend_http_settings {
- affinity_cookie_name = "ApplicationGatewayAffinity" -> null
- cookie_based_affinity = "Disabled" -> null
- 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
- name = "fims-op-app-http-settings" -> null
- pick_host_name_from_backend_address = true -> null
- port = 443 -> null
- probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-fims-op-app" -> null
- probe_name = "probe-fims-op-app" -> null
- protocol = "Https" -> null
- request_timeout = 10 -> null
- trusted_root_certificate_names = [] -> null
# (2 unchanged attributes hidden)
}
- backend_http_settings {
- affinity_cookie_name = "ApplicationGatewayAffinity" -> null
- cookie_based_affinity = "Disabled" -> null
- 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
- name = "firmaconio-selfcare-backend-http-settings" -> null
- pick_host_name_from_backend_address = true -> null
- port = 443 -> null
- probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-firmaconio-selfcare-backend" -> null
- probe_name = "probe-firmaconio-selfcare-backend" -> null
- protocol = "Https" -> null
- request_timeout = 180 -> null
- trusted_root_certificate_names = [] -> null
# (2 unchanged attributes hidden)
}
- backend_http_settings {
- affinity_cookie_name = "ApplicationGatewayAffinity" -> null
- cookie_based_affinity = "Disabled" -> null
- 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
- name = "licences-ipatente-io-app-http-settings" -> null
- pick_host_name_from_backend_address = true -> null
- port = 443 -> null
- probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-licences-ipatente-io-app" -> null
- probe_name = "probe-licences-ipatente-io-app" -> null
- protocol = "Https" -> null
- request_timeout = 10 -> null
- trusted_root_certificate_names = [] -> null
# (2 unchanged attributes hidden)
}
- backend_http_settings {
- affinity_cookie_name = "ApplicationGatewayAffinity" -> null
- cookie_based_affinity = "Disabled" -> null
- 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
- name = "selfcare-backend-http-settings" -> null
- pick_host_name_from_backend_address = true -> null
- port = 443 -> null
- probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-selfcare-backend" -> null
- probe_name = "probe-selfcare-backend" -> null
- protocol = "Https" -> null
- request_timeout = 180 -> null
- trusted_root_certificate_names = [] -> null
# (2 unchanged attributes hidden)
}
- backend_http_settings {
- affinity_cookie_name = "ApplicationGatewayAffinity" -> null
- cookie_based_affinity = "Disabled" -> null
- 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
- name = "selfcare-io-app-http-settings" -> null
- pick_host_name_from_backend_address = true -> null
- port = 443 -> null
- 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" -> null
- probe_name = "probe-selfcare-io-app" -> null
- protocol = "Https" -> null
- request_timeout = 10 -> null
- trusted_root_certificate_names = [] -> null
# (2 unchanged attributes hidden)
}
- backend_http_settings {
- affinity_cookie_name = "ApplicationGatewayAffinity" -> null
- cookie_based_affinity = "Disabled" -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/session-manager-app-http-settings" -> null
- name = "session-manager-app-http-settings" -> null
- pick_host_name_from_backend_address = true -> null
- port = 443 -> null
- 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" -> null
- probe_name = "probe-session-manager-app" -> null
- protocol = "Https" -> null
- request_timeout = 10 -> null
- trusted_root_certificate_names = [] -> null
# (2 unchanged attributes hidden)
}
- backend_http_settings {
- affinity_cookie_name = "ApplicationGatewayAffinity" -> null
- cookie_based_affinity = "Disabled" -> null
- 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
- name = "vehicles-ipatente-io-app-http-settings" -> null
- pick_host_name_from_backend_address = true -> null
- port = 443 -> null
- probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-vehicles-ipatente-io-app" -> null
- probe_name = "probe-vehicles-ipatente-io-app" -> null
- protocol = "Https" -> null
- request_timeout = 10 -> null
- trusted_root_certificate_names = [] -> null
# (2 unchanged attributes hidden)
}
+ backend_http_settings {
+ affinity_cookie_name = "ApplicationGatewayAffinity"
+ cookie_based_affinity = "Disabled"
+ id = (known after apply)
+ name = "payments-ipatente-io-app-http-settings"
+ pick_host_name_from_backend_address = true
+ port = 443
+ probe_id = (known after apply)
+ probe_name = "probe-payments-ipatente-io-app"
+ protocol = "Https"
+ request_timeout = 10
+ trusted_root_certificate_names = []
# (2 unchanged attributes hidden)
}
+ backend_http_settings {
+ affinity_cookie_name = "ApplicationGatewayAffinity"
+ cookie_based_affinity = "Disabled"
+ id = (known after apply)
+ name = "practices-ipatente-io-app-http-settings"
+ pick_host_name_from_backend_address = true
+ port = 443
+ probe_id = (known after apply)
+ probe_name = "probe-practices-ipatente-io-app"
+ protocol = "Https"
+ request_timeout = 10
+ trusted_root_certificate_names = []
# (2 unchanged attributes hidden)
}
+ backend_http_settings {
+ affinity_cookie_name = "ApplicationGatewayAffinity"
+ cookie_based_affinity = "Disabled"
+ id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/appbackend-app-http-settings"
+ name = "appbackend-app-http-settings"
+ pick_host_name_from_backend_address = true
+ port = 443
+ probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-appbackend-app"
+ probe_name = "probe-appbackend-app"
+ protocol = "Https"
+ request_timeout = 10
+ trusted_root_certificate_names = []
# (1 unchanged attribute hidden)
}
+ backend_http_settings {
+ affinity_cookie_name = "ApplicationGatewayAffinity"
+ cookie_based_affinity = "Disabled"
+ id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/continua-app-http-settings"
+ name = "continua-app-http-settings"
+ pick_host_name_from_backend_address = true
+ port = 443
+ probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-continua-app"
+ probe_name = "probe-continua-app"
+ protocol = "Https"
+ request_timeout = 10
+ trusted_root_certificate_names = []
# (1 unchanged attribute hidden)
}
+ backend_http_settings {
+ affinity_cookie_name = "ApplicationGatewayAffinity"
+ cookie_based_affinity = "Disabled"
+ id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/developerportal-backend-http-settings"
+ name = "developerportal-backend-http-settings"
+ pick_host_name_from_backend_address = true
+ port = 443
+ probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-developerportal-backend"
+ probe_name = "probe-developerportal-backend"
+ protocol = "Https"
+ request_timeout = 180
+ trusted_root_certificate_names = []
# (1 unchanged attribute hidden)
}
+ backend_http_settings {
+ affinity_cookie_name = "ApplicationGatewayAffinity"
+ cookie_based_affinity = "Disabled"
+ 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"
+ name = "fims-op-app-http-settings"
+ pick_host_name_from_backend_address = true
+ port = 443
+ probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-fims-op-app"
+ probe_name = "probe-fims-op-app"
+ protocol = "Https"
+ request_timeout = 10
+ trusted_root_certificate_names = []
# (1 unchanged attribute hidden)
}
+ backend_http_settings {
+ affinity_cookie_name = "ApplicationGatewayAffinity"
+ cookie_based_affinity = "Disabled"
+ 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"
+ name = "firmaconio-selfcare-backend-http-settings"
+ pick_host_name_from_backend_address = true
+ port = 443
+ probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-firmaconio-selfcare-backend"
+ probe_name = "probe-firmaconio-selfcare-backend"
+ protocol = "Https"
+ request_timeout = 180
+ trusted_root_certificate_names = []
# (1 unchanged attribute hidden)
}
+ backend_http_settings {
+ affinity_cookie_name = "ApplicationGatewayAffinity"
+ cookie_based_affinity = "Disabled"
+ 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"
+ name = "licences-ipatente-io-app-http-settings"
+ pick_host_name_from_backend_address = true
+ port = 443
+ probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-licences-ipatente-io-app"
+ probe_name = "probe-licences-ipatente-io-app"
+ protocol = "Https"
+ request_timeout = 10
+ trusted_root_certificate_names = []
# (1 unchanged attribute hidden)
}
+ backend_http_settings {
+ affinity_cookie_name = "ApplicationGatewayAffinity"
+ cookie_based_affinity = "Disabled"
+ id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/selfcare-backend-http-settings"
+ name = "selfcare-backend-http-settings"
+ pick_host_name_from_backend_address = true
+ port = 443
+ probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-selfcare-backend"
+ probe_name = "probe-selfcare-backend"
+ protocol = "Https"
+ request_timeout = 180
+ trusted_root_certificate_names = []
# (1 unchanged attribute hidden)
}
+ backend_http_settings {
+ affinity_cookie_name = "ApplicationGatewayAffinity"
+ cookie_based_affinity = "Disabled"
+ 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"
+ name = "selfcare-io-app-http-settings"
+ pick_host_name_from_backend_address = true
+ port = 443
+ 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"
+ probe_name = "probe-selfcare-io-app"
+ protocol = "Https"
+ request_timeout = 10
+ trusted_root_certificate_names = []
# (1 unchanged attribute hidden)
}
+ backend_http_settings {
+ affinity_cookie_name = "ApplicationGatewayAffinity"
+ cookie_based_affinity = "Disabled"
+ id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/backendHttpSettingsCollection/session-manager-app-http-settings"
+ name = "session-manager-app-http-settings"
+ pick_host_name_from_backend_address = true
+ port = 443
+ 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"
+ probe_name = "probe-session-manager-app"
+ protocol = "Https"
+ request_timeout = 10
+ trusted_root_certificate_names = []
# (1 unchanged attribute hidden)
}
+ backend_http_settings {
+ affinity_cookie_name = "ApplicationGatewayAffinity"
+ cookie_based_affinity = "Disabled"
+ 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"
+ name = "vehicles-ipatente-io-app-http-settings"
+ pick_host_name_from_backend_address = true
+ port = 443
+ probe_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-vehicles-ipatente-io-app"
+ probe_name = "probe-vehicles-ipatente-io-app"
+ protocol = "Https"
+ request_timeout = 10
+ trusted_root_certificate_names = []
# (1 unchanged attribute hidden)
}
- probe {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-appbackend-app" -> null
- interval = 30 -> null
- minimum_servers = 0 -> null
- name = "probe-appbackend-app" -> null
- path = "/info" -> null
- pick_host_name_from_backend_http_settings = true -> null
- port = 0 -> null
- protocol = "Https" -> null
- timeout = 30 -> null
- unhealthy_threshold = 3 -> null
# (1 unchanged attribute hidden)
- match {
- status_code = [
- "200-399",
] -> null
# (1 unchanged attribute hidden)
}
}
- probe {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-continua-app" -> null
- interval = 30 -> null
- minimum_servers = 0 -> null
- name = "probe-continua-app" -> null
- path = "/info" -> null
- pick_host_name_from_backend_http_settings = true -> null
- port = 0 -> null
- protocol = "Https" -> null
- timeout = 30 -> null
- unhealthy_threshold = 3 -> null
# (1 unchanged attribute hidden)
- match {
- status_code = [
- "200-399",
] -> null
# (1 unchanged attribute hidden)
}
}
- probe {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-developerportal-backend" -> null
- interval = 30 -> null
- minimum_servers = 0 -> null
- name = "probe-developerportal-backend" -> null
- path = "/info" -> null
- pick_host_name_from_backend_http_settings = true -> null
- port = 0 -> null
- protocol = "Https" -> null
- timeout = 30 -> null
- unhealthy_threshold = 3 -> null
# (1 unchanged attribute hidden)
- match {
- status_code = [
- "200-399",
] -> null
# (1 unchanged attribute hidden)
}
}
- probe {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-fims-op-app" -> null
- interval = 30 -> null
- minimum_servers = 0 -> null
- name = "probe-fims-op-app" -> null
- path = "/health" -> null
- pick_host_name_from_backend_http_settings = true -> null
- port = 0 -> null
- protocol = "Https" -> null
- timeout = 30 -> null
- unhealthy_threshold = 3 -> null
# (1 unchanged attribute hidden)
- match {
- status_code = [
- "200-399",
] -> null
# (1 unchanged attribute hidden)
}
}
- probe {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-firmaconio-selfcare-backend" -> null
- interval = 30 -> null
- minimum_servers = 0 -> null
- name = "probe-firmaconio-selfcare-backend" -> null
- path = "/health" -> null
- pick_host_name_from_backend_http_settings = true -> null
- port = 0 -> null
- protocol = "Https" -> null
- timeout = 30 -> null
- unhealthy_threshold = 3 -> null
# (1 unchanged attribute hidden)
- match {
- status_code = [
- "200-399",
] -> null
# (1 unchanged attribute hidden)
}
}
- probe {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-licences-ipatente-io-app" -> null
- interval = 30 -> null
- minimum_servers = 0 -> null
- name = "probe-licences-ipatente-io-app" -> null
- path = "/api/info" -> null
- pick_host_name_from_backend_http_settings = true -> null
- port = 0 -> null
- protocol = "Https" -> null
- timeout = 30 -> null
- unhealthy_threshold = 3 -> null
# (1 unchanged attribute hidden)
- match {
- status_code = [
- "200-399",
] -> null
# (1 unchanged attribute hidden)
}
}
- probe {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-selfcare-backend" -> null
- interval = 30 -> null
- minimum_servers = 0 -> null
- name = "probe-selfcare-backend" -> null
- path = "/info" -> null
- pick_host_name_from_backend_http_settings = true -> null
- port = 0 -> null
- protocol = "Https" -> null
- timeout = 30 -> null
- unhealthy_threshold = 3 -> null
# (1 unchanged attribute hidden)
- match {
- status_code = [
- "200-399",
] -> null
# (1 unchanged attribute hidden)
}
}
- 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" -> null
- interval = 30 -> null
- minimum_servers = 0 -> null
- name = "probe-selfcare-io-app" -> null
- path = "/api/info" -> null
- pick_host_name_from_backend_http_settings = true -> null
- port = 0 -> null
- protocol = "Https" -> null
- timeout = 30 -> null
- unhealthy_threshold = 3 -> null
# (1 unchanged attribute hidden)
- match {
- status_code = [
- "200-399",
] -> null
# (1 unchanged attribute hidden)
}
}
- 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" -> null
- interval = 30 -> null
- minimum_servers = 0 -> null
- name = "probe-session-manager-app" -> null
- path = "/healthcheck" -> null
- pick_host_name_from_backend_http_settings = true -> null
- port = 0 -> null
- protocol = "Https" -> null
- timeout = 30 -> null
- unhealthy_threshold = 3 -> null
# (1 unchanged attribute hidden)
- match {
- status_code = [
- "200-399",
] -> null
# (1 unchanged attribute hidden)
}
}
- probe {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-vehicles-ipatente-io-app" -> null
- interval = 30 -> null
- minimum_servers = 0 -> null
- name = "probe-vehicles-ipatente-io-app" -> null
- path = "/api/info" -> null
- pick_host_name_from_backend_http_settings = true -> null
- port = 0 -> null
- protocol = "Https" -> null
- timeout = 30 -> null
- unhealthy_threshold = 3 -> null
# (1 unchanged attribute hidden)
- match {
- status_code = [
- "200-399",
] -> null
# (1 unchanged attribute hidden)
}
}
- probe {
- host = "api-app.internal.io.pagopa.it" -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-apim" -> null
- interval = 30 -> null
- minimum_servers = 0 -> null
- name = "probe-apim" -> null
- path = "/status-0123456789abcdef" -> null
- pick_host_name_from_backend_http_settings = false -> null
- port = 0 -> null
- protocol = "Https" -> null
- timeout = 30 -> null
- unhealthy_threshold = 3 -> null
- match {
- status_code = [
- "200-399",
] -> null
# (1 unchanged attribute hidden)
}
}
+ probe {
+ id = (known after apply)
+ interval = 30
+ minimum_servers = 0
+ name = "probe-payments-ipatente-io-app"
+ path = "/api/info"
+ pick_host_name_from_backend_http_settings = true
+ protocol = "Https"
+ timeout = 30
+ unhealthy_threshold = 3
# (1 unchanged attribute hidden)
+ match {
+ status_code = [
+ "200-399",
]
# (1 unchanged attribute hidden)
}
}
+ probe {
+ id = (known after apply)
+ interval = 30
+ minimum_servers = 0
+ name = "probe-practices-ipatente-io-app"
+ path = "/api/info"
+ pick_host_name_from_backend_http_settings = true
+ protocol = "Https"
+ timeout = 30
+ unhealthy_threshold = 3
# (1 unchanged attribute hidden)
+ match {
+ status_code = [
+ "200-399",
]
# (1 unchanged attribute hidden)
}
}
+ probe {
+ host = "api-app.internal.io.pagopa.it"
+ id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-apim"
+ interval = 30
+ minimum_servers = 0
+ name = "probe-apim"
+ path = "/status-0123456789abcdef"
+ pick_host_name_from_backend_http_settings = false
+ 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-appbackend-app"
+ interval = 30
+ minimum_servers = 0
+ name = "probe-appbackend-app"
+ 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-continua-app"
+ interval = 30
+ minimum_servers = 0
+ name = "probe-continua-app"
+ 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-developerportal-backend"
+ interval = 30
+ minimum_servers = 0
+ name = "probe-developerportal-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-fims-op-app"
+ interval = 30
+ minimum_servers = 0
+ name = "probe-fims-op-app"
+ path = "/health"
+ 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-firmaconio-selfcare-backend"
+ interval = 30
+ minimum_servers = 0
+ name = "probe-firmaconio-selfcare-backend"
+ path = "/health"
+ 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-licences-ipatente-io-app"
+ interval = 30
+ minimum_servers = 0
+ name = "probe-licences-ipatente-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-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",
]
}
}
+ probe {
+ id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway/probes/probe-vehicles-ipatente-io-app"
+ interval = 30
+ minimum_servers = 0
+ name = "probe-vehicles-ipatente-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",
]
}
}
+ rewrite_rule_set {
+ name = "rewrite-rule-set-payments-ipatente-io-app"
+ rewrite_rule {
+ name = "http-headers-api-app"
+ rule_sequence = 100
+ request_header_configuration {
+ header_name = "X-Forwarded-For"
+ header_value = "{var_client_ip}"
}
+ request_header_configuration {
+ header_name = "X-Client-Ip"
+ header_value = "{var_client_ip}"
}
}
}
+ rewrite_rule_set {
+ name = "rewrite-rule-set-practices-ipatente-io-app"
+ rewrite_rule {
+ name = "http-headers-api-app"
+ rule_sequence = 100
+ request_header_configuration {
+ header_name = "X-Forwarded-For"
+ header_value = "{var_client_ip}"
}
+ request_header_configuration {
+ header_name = "X-Client-Ip"
+ header_value = "{var_client_ip}"
}
}
}
# (80 unchanged blocks hidden)
}
# module.global.module.dns.azurerm_dns_a_record.payments_ipatente_io_pagopa_it will be created
+ resource "azurerm_dns_a_record" "payments_ipatente_io_pagopa_it" {
+ fqdn = (known after apply)
+ id = (known after apply)
+ name = "payments"
+ 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.practices_ipatente_io_pagopa_it will be created
+ resource "azurerm_dns_a_record" "practices_ipatente_io_pagopa_it" {
+ fqdn = (known after apply)
+ id = (known after apply)
+ name = "practices"
+ 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: 3 to add, 2 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
approved these changes
Dec 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
CMS needs to consume SelfCare Event Hub messages, and this PR adds a private endpoint to allow IO resources to connect to it.
Until now, this associations has been made through IP whitelist, using public network which is not recommended.
Major Changes
Add private endpoint to SelfCare Event Hub
Dependencies
Testing
Documentation
Other Considerations