-
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
[#PE-832] Removed cgn functions apps and redis #1316
Open
michaeldisaro
wants to merge
12
commits into
main
Choose a base branch
from
pe-832
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
michaeldisaro
temporarily deployed
to
prod-ci
November 18, 2024 10:18 — with
GitHub Actions
Inactive
Terraform Plan ('src/domains/cgn/prod') 📖Terraform PlanNote: Objects have changed outside of Terraform
Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:
# module.cosmos.module.cosmos_account_cgn.azurerm_cosmosdb_account.this has changed
~ resource "azurerm_cosmosdb_account" "this" {
id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.DocumentDB/databaseAccounts/io-p-cosmos-cgn"
name = "io-p-cosmos-cgn"
~ read_endpoints = [
~ "https://io-p-cosmos-cgn-westeurope.documents.azure.com:443/" -> "https://io-p-cosmos-cgn-italynorth.documents.azure.com:443/",
~ "https://io-p-cosmos-cgn-italynorth.documents.azure.com:443/" -> "https://io-p-cosmos-cgn-spaincentral.documents.azure.com:443/",
]
tags = {
"CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
"CreatedBy" = "Terraform"
"Environment" = "Prod"
"ManagementTeam" = "IO Enti & Servizi"
"Owner" = "IO"
"Source" = "https://github.com/pagopa/io-infra/blob/main/src/domains/cgn/prod"
}
~ write_endpoints = [
~ "https://io-p-cosmos-cgn-westeurope.documents.azure.com:443/" -> "https://io-p-cosmos-cgn-italynorth.documents.azure.com:443/",
]
# (28 unchanged attributes hidden)
# (6 unchanged blocks hidden)
}
Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.
─────────────────────────────────────────────────────────────────────────────
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
- destroy
-/+ destroy and then create replacement
Terraform will perform the following actions:
# module.cosmos.azurerm_monitor_metric_alert.cosmos_cgn_throttling_alert will be updated in-place
~ resource "azurerm_monitor_metric_alert" "cosmos_cgn_throttling_alert" {
id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.Insights/metricAlerts/[CGN | io-p-cosmos-cgn] Throttling"
name = "[CGN | io-p-cosmos-cgn] Throttling"
~ scopes = [
- "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.DocumentDB/databaseAccounts/io-p-cosmos-cgn",
] -> (known after apply)
tags = {
"CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
"CreatedBy" = "Terraform"
"Environment" = "Prod"
"ManagementTeam" = "IO Enti & Servizi"
"Owner" = "IO"
"Source" = "https://github.com/pagopa/io-infra/blob/main/src/domains/cgn/prod"
}
# (9 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# module.cosmos.azurerm_private_endpoint.cosno_remote_content_itn must be replaced
-/+ resource "azurerm_private_endpoint" "cosno_remote_content_itn" {
~ custom_dns_configs = [] -> (known after apply)
~ id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.Network/privateEndpoints/io-p-itn-cgn-cosno-pep-01" -> (known after apply)
name = "io-p-itn-cgn-cosno-pep-01"
~ network_interface = [
- {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.Network/networkInterfaces/io-p-itn-cgn-cosno-pep-01.nic.36499b7f-1fac-438b-9bf6-9253b0b83a73"
- name = "io-p-itn-cgn-cosno-pep-01.nic.36499b7f-1fac-438b-9bf6-9253b0b83a73"
},
] -> (known after apply)
~ private_dns_zone_configs = [
- {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.Network/privateEndpoints/io-p-itn-cgn-cosno-pep-01/privateDnsZoneGroups/private-dns-zone-group/privateDnsZoneConfigs/privatelink.documents.azure.com"
- name = "privatelink.documents.azure.com"
- private_dns_zone_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.documents.azure.com"
- record_sets = [
- {
- fqdn = "io-p-cosmos-cgn.privatelink.documents.azure.com"
- ip_addresses = [
- "10.20.2.111",
]
- name = "io-p-cosmos-cgn"
- ttl = 10
- type = "A"
},
- {
- fqdn = "io-p-cosmos-cgn-italynorth.privatelink.documents.azure.com"
- ip_addresses = [
- "10.20.2.113",
]
- name = "io-p-cosmos-cgn-italynorth"
- ttl = 10
- type = "A"
},
- {
- fqdn = "io-p-cosmos-cgn-spaincentral.privatelink.documents.azure.com"
- ip_addresses = [
- "10.20.2.137",
]
- name = "io-p-cosmos-cgn-spaincentral"
- ttl = 10
- type = "A"
},
]
},
] -> (known after apply)
tags = {
"CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
"CreatedBy" = "Terraform"
"Environment" = "Prod"
"ManagementTeam" = "IO Enti & Servizi"
"Owner" = "IO"
"Source" = "https://github.com/pagopa/io-infra/blob/main/src/domains/cgn/prod"
}
# (4 unchanged attributes hidden)
~ private_dns_zone_group {
~ id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.Network/privateEndpoints/io-p-itn-cgn-cosno-pep-01/privateDnsZoneGroups/private-dns-zone-group" -> (known after apply)
name = "private-dns-zone-group"
# (1 unchanged attribute hidden)
}
~ private_service_connection {
name = "io-p-itn-cgn-cosno-pep-01"
~ private_connection_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.DocumentDB/databaseAccounts/io-p-cosmos-cgn" -> (known after apply) # forces replacement
~ private_ip_address = "10.20.2.111" -> (known after apply)
# (4 unchanged attributes hidden)
}
}
# module.functions.azurerm_monitor_autoscale_setting.function_cgn will be destroyed
# (because azurerm_monitor_autoscale_setting.function_cgn is not in configuration)
- resource "azurerm_monitor_autoscale_setting" "function_cgn" {
- enabled = true -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Insights/autoScaleSettings/io-p-cgn-fn-autoscale" -> null
- location = "westeurope" -> null
- name = "io-p-cgn-fn-autoscale" -> null
- resource_group_name = "io-p-cgn-be-rg" -> null
- tags = {} -> null
- target_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Web/serverFarms/io-p-plan-cgn-common" -> null
- profile {
- name = "default" -> null
- capacity {
- default = 10 -> null
- maximum = 30 -> null
- minimum = 1 -> null
}
- rule {
- metric_trigger {
- divide_by_instance_count = false -> null
- metric_name = "Requests" -> null
- metric_namespace = "microsoft.web/sites" -> null
- metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Web/sites/io-p-cgn-fn" -> null
- operator = "GreaterThan" -> null
- statistic = "Average" -> null
- threshold = 3000 -> null
- time_aggregation = "Average" -> null
- time_grain = "PT1M" -> null
- time_window = "PT5M" -> null
}
- scale_action {
- cooldown = "PT5M" -> null
- direction = "Increase" -> null
- type = "ChangeCount" -> null
- value = 2 -> null
}
}
- rule {
- metric_trigger {
- divide_by_instance_count = false -> null
- metric_name = "CpuPercentage" -> null
- metric_namespace = "microsoft.web/serverfarms" -> null
- metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Web/serverFarms/io-p-plan-cgn-common" -> null
- operator = "GreaterThan" -> null
- statistic = "Average" -> null
- threshold = 45 -> null
- time_aggregation = "Average" -> null
- time_grain = "PT1M" -> null
- time_window = "PT5M" -> null
}
- scale_action {
- cooldown = "PT5M" -> null
- direction = "Increase" -> null
- type = "ChangeCount" -> null
- value = 2 -> null
}
}
- rule {
- metric_trigger {
- divide_by_instance_count = false -> null
- metric_name = "Requests" -> null
- metric_namespace = "microsoft.web/sites" -> null
- metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Web/sites/io-p-cgn-fn" -> null
- operator = "LessThan" -> null
- statistic = "Average" -> null
- threshold = 2000 -> null
- time_aggregation = "Average" -> null
- time_grain = "PT1M" -> null
- time_window = "PT5M" -> null
}
- scale_action {
- cooldown = "PT20M" -> null
- direction = "Decrease" -> null
- type = "ChangeCount" -> null
- value = 1 -> null
}
}
- rule {
- metric_trigger {
- divide_by_instance_count = false -> null
- metric_name = "CpuPercentage" -> null
- metric_namespace = "microsoft.web/serverfarms" -> null
- metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Web/serverFarms/io-p-plan-cgn-common" -> null
- operator = "LessThan" -> null
- statistic = "Average" -> null
- threshold = 30 -> null
- time_aggregation = "Average" -> null
- time_grain = "PT1M" -> null
- time_window = "PT5M" -> null
}
- scale_action {
- cooldown = "PT20M" -> null
- direction = "Decrease" -> null
- type = "ChangeCount" -> null
- value = 1 -> null
}
}
}
}
# module.functions.azurerm_monitor_metric_alert.function_cgn_health_check will be destroyed
# (because azurerm_monitor_metric_alert.function_cgn_health_check is not in configuration)
- resource "azurerm_monitor_metric_alert" "function_cgn_health_check" {
- auto_mitigate = false -> null
- description = "io-p-cgn-fn health check failed" -> null
- enabled = true -> null
- frequency = "PT5M" -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Insights/metricAlerts/io-p-cgn-fn-health-check-failed" -> null
- name = "io-p-cgn-fn-health-check-failed" -> null
- resource_group_name = "io-p-cgn-be-rg" -> null
- scopes = [
- "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Web/sites/io-p-cgn-fn",
] -> null
- severity = 1 -> null
- tags = {} -> null
- window_size = "PT5M" -> null
# (2 unchanged attributes hidden)
- action {
- action_group_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Insights/actionGroups/ioperror" -> null
- webhook_properties = {} -> null
}
- criteria {
- aggregation = "Average" -> null
- metric_name = "HealthCheckStatus" -> null
- metric_namespace = "Microsoft.Web/sites" -> null
- operator = "LessThan" -> null
- skip_metric_validation = false -> null
- threshold = 50 -> null
}
}
# module.functions.azurerm_monitor_metric_alert.function_cgn_merchant_health_check will be destroyed
# (because azurerm_monitor_metric_alert.function_cgn_merchant_health_check is not in configuration)
- resource "azurerm_monitor_metric_alert" "function_cgn_merchant_health_check" {
- auto_mitigate = false -> null
- description = "io-p-cgn-merchant-fn health check failed" -> null
- enabled = false -> null
- frequency = "PT5M" -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Insights/metricAlerts/io-p-cgn-merchant-fn-health-check-failed" -> null
- name = "io-p-cgn-merchant-fn-health-check-failed" -> null
- resource_group_name = "io-p-cgn-be-rg" -> null
- scopes = [
- "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Web/sites/io-p-cgn-merchant-fn",
] -> null
- severity = 1 -> null
- tags = {} -> null
- window_size = "PT5M" -> null
# (2 unchanged attributes hidden)
- action {
- action_group_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Insights/actionGroups/ioperror" -> null
- webhook_properties = {} -> null
}
- criteria {
- aggregation = "Average" -> null
- metric_name = "HealthCheckStatus" -> null
- metric_namespace = "Microsoft.Web/sites" -> null
- operator = "LessThan" -> null
- skip_metric_validation = false -> null
- threshold = 50 -> null
}
}
# module.functions.azurerm_private_endpoint.function_sites will be destroyed
# (because azurerm_private_endpoint.function_sites is not in configuration)
- resource "azurerm_private_endpoint" "function_sites" {
- custom_dns_configs = [] -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/privateEndpoints/io-p-cgn-fn-pep" -> null
- location = "westeurope" -> null
- name = "io-p-cgn-fn-pep" -> null
- network_interface = [
- {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/networkInterfaces/io-p-cgn-fn-pep.nic.dac0f632-fcff-469c-868d-3f509fa4bfc1"
- name = "io-p-cgn-fn-pep.nic.dac0f632-fcff-469c-868d-3f509fa4bfc1"
},
] -> null
- private_dns_zone_configs = [
- {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/privateEndpoints/io-p-cgn-fn-pep/privateDnsZoneGroups/private-dns-zone-group/privateDnsZoneConfigs/privatelink.azurewebsites.net"
- name = "privatelink.azurewebsites.net"
- private_dns_zone_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.azurewebsites.net"
- record_sets = [
- {
- fqdn = "io-p-cgn-fn.privatelink.azurewebsites.net"
- ip_addresses = [
- "10.0.240.90",
]
- name = "io-p-cgn-fn"
- ttl = 10
- type = "A"
},
- {
- fqdn = "io-p-cgn-fn.scm.privatelink.azurewebsites.net"
- ip_addresses = [
- "10.0.240.90",
]
- name = "io-p-cgn-fn.scm"
- ttl = 10
- type = "A"
},
]
},
] -> null
- resource_group_name = "io-p-cgn-be-rg" -> null
- subnet_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/virtualNetworks/io-p-vnet-common/subnets/pendpoints" -> null
- tags = {
- "CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
- "CreatedBy" = "Terraform"
- "Environment" = "Prod"
- "ManagementTeam" = "IO Enti & Servizi"
- "Owner" = "IO"
- "Source" = "https://github.com/pagopa/io-infra/blob/main/src/domains/cgn/prod"
} -> null
# (1 unchanged attribute hidden)
- private_dns_zone_group {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/privateEndpoints/io-p-cgn-fn-pep/privateDnsZoneGroups/private-dns-zone-group" -> null
- name = "private-dns-zone-group" -> null
- private_dns_zone_ids = [
- "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.azurewebsites.net",
] -> null
}
- private_service_connection {
- is_manual_connection = false -> null
- name = "io-p-cgn-fn-pep" -> null
- private_connection_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Web/sites/io-p-cgn-fn" -> null
- private_ip_address = "10.0.240.90" -> null
- subresource_names = [
- "sites",
] -> null
# (2 unchanged attributes hidden)
}
}
# module.functions.azurerm_private_endpoint.staging_function_sites will be destroyed
# (because azurerm_private_endpoint.staging_function_sites is not in configuration)
- resource "azurerm_private_endpoint" "staging_function_sites" {
- custom_dns_configs = [] -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/privateEndpoints/io-p-cgn-fn-staging-pep" -> null
- location = "westeurope" -> null
- name = "io-p-cgn-fn-staging-pep" -> null
- network_interface = [
- {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/networkInterfaces/io-p-cgn-fn-staging-pep.nic.0685523c-24fb-4ade-b27e-dca36304da3a"
- name = "io-p-cgn-fn-staging-pep.nic.0685523c-24fb-4ade-b27e-dca36304da3a"
},
] -> null
- private_dns_zone_configs = [
- {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/privateEndpoints/io-p-cgn-fn-staging-pep/privateDnsZoneGroups/private-dns-zone-group/privateDnsZoneConfigs/privatelink.azurewebsites.net"
- name = "privatelink.azurewebsites.net"
- private_dns_zone_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.azurewebsites.net"
- record_sets = [
- {
- fqdn = "io-p-cgn-fn-staging.privatelink.azurewebsites.net"
- ip_addresses = [
- "10.0.240.126",
]
- name = "io-p-cgn-fn-staging"
- ttl = 10
- type = "A"
},
- {
- fqdn = "io-p-cgn-fn-staging.scm.privatelink.azurewebsites.net"
- ip_addresses = [
- "10.0.240.126",
]
- name = "io-p-cgn-fn-staging.scm"
- ttl = 10
- type = "A"
},
]
},
] -> null
- resource_group_name = "io-p-cgn-be-rg" -> null
- subnet_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/virtualNetworks/io-p-vnet-common/subnets/pendpoints" -> null
- tags = {
- "CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
- "CreatedBy" = "Terraform"
- "Environment" = "Prod"
- "ManagementTeam" = "IO Enti & Servizi"
- "Owner" = "IO"
- "Source" = "https://github.com/pagopa/io-infra/blob/main/src/domains/cgn/prod"
} -> null
# (1 unchanged attribute hidden)
- private_dns_zone_group {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/privateEndpoints/io-p-cgn-fn-staging-pep/privateDnsZoneGroups/private-dns-zone-group" -> null
- name = "private-dns-zone-group" -> null
- private_dns_zone_ids = [
- "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.azurewebsites.net",
] -> null
}
- private_service_connection {
- is_manual_connection = false -> null
- name = "io-p-cgn-fn-pep" -> null
- private_connection_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Web/sites/io-p-cgn-fn" -> null
- private_ip_address = "10.0.240.126" -> null
- subresource_names = [
- "sites-staging",
] -> null
# (2 unchanged attributes hidden)
}
}
# module.cosmos.module.cosmos_account_cgn.azurerm_cosmosdb_account.this must be replaced
-/+ resource "azurerm_cosmosdb_account" "this" {
~ connection_strings = (sensitive value)
~ create_mode = "Default" -> (known after apply)
~ endpoint = "https://io-p-cosmos-cgn.documents.azure.com:443/" -> (known after apply)
~ id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.DocumentDB/databaseAccounts/io-p-cosmos-cgn" -> (known after apply)
~ location = "westeurope" -> "italynorth" # forces replacement
+ mongo_server_version = (known after apply)
name = "io-p-cosmos-cgn"
- network_acl_bypass_ids = [] -> null
~ primary_key = (sensitive value)
+ primary_mongodb_connection_string = (sensitive value)
~ primary_readonly_key = (sensitive value)
+ primary_readonly_mongodb_connection_string = (sensitive value)
~ primary_readonly_sql_connection_string = (sensitive value)
~ primary_sql_connection_string = (sensitive value)
~ read_endpoints = [
- "https://io-p-cosmos-cgn-italynorth.documents.azure.com:443/",
- "https://io-p-cosmos-cgn-spaincentral.documents.azure.com:443/",
] -> (known after apply)
~ secondary_key = (sensitive value)
+ secondary_mongodb_connection_string = (sensitive value)
~ secondary_readonly_key = (sensitive value)
+ secondary_readonly_mongodb_connection_string = (sensitive value)
~ secondary_readonly_sql_connection_string = (sensitive value)
~ secondary_sql_connection_string = (sensitive value)
tags = {
"CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
"CreatedBy" = "Terraform"
"Environment" = "Prod"
"ManagementTeam" = "IO Enti & Servizi"
"Owner" = "IO"
"Source" = "https://github.com/pagopa/io-infra/blob/main/src/domains/cgn/prod"
}
~ write_endpoints = [
- "https://io-p-cosmos-cgn-italynorth.documents.azure.com:443/",
] -> (known after apply)
# (15 unchanged attributes hidden)
~ analytical_storage (known after apply)
- analytical_storage {
# (1 unchanged attribute hidden)
}
~ backup {
~ interval_in_minutes = 0 -> (known after apply)
~ retention_in_hours = 0 -> (known after apply)
+ storage_redundancy = (known after apply)
# (1 unchanged attribute hidden)
}
~ capabilities (known after apply)
~ capacity (known after apply)
~ consistency_policy {
- max_interval_in_seconds = 5 -> null
- max_staleness_prefix = 100 -> null
# (1 unchanged attribute hidden)
}
- geo_location {
- failover_priority = 0 -> null
- id = "io-p-cosmos-cgn-italynorth" -> null
- location = "italynorth" -> null
- zone_redundant = true -> null
}
- geo_location {
- failover_priority = 1 -> null
- id = "io-p-cosmos-cgn-spaincentral" -> null
- location = "spaincentral" -> null
- zone_redundant = false -> null
}
+ geo_location {
+ failover_priority = 0
+ id = (known after apply)
+ location = "italynorth"
+ zone_redundant = true
}
+ geo_location {
+ failover_priority = 1
+ id = (known after apply)
+ location = "spaincentral"
+ zone_redundant = false
}
~ identity {
- identity_ids = [] -> null
~ principal_id = "7bc4b2e1-76c1-4fe4-b092-ecc1ef2299ad" -> (known after apply)
~ tenant_id = "7788edaf-0346-4068-9d79-c868aed15b3d" -> (known after apply)
# (1 unchanged attribute hidden)
}
}
# module.cosmos.module.cosmos_account_cgn.azurerm_monitor_metric_alert.cosmos_db_provisioned_throughput_exceeded[0] will be updated in-place
~ resource "azurerm_monitor_metric_alert" "cosmos_db_provisioned_throughput_exceeded" {
id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.Insights/metricAlerts/[CGN | io-p-cosmos-cgn] Provisioned Throughput Exceeded"
name = "[CGN | io-p-cosmos-cgn] Provisioned Throughput Exceeded"
~ scopes = [
- "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.DocumentDB/databaseAccounts/io-p-cosmos-cgn",
] -> (known after apply)
tags = {
"CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
"CreatedBy" = "Terraform"
"Environment" = "Prod"
"ManagementTeam" = "IO Enti & Servizi"
"Owner" = "IO"
"Source" = "https://github.com/pagopa/io-infra/blob/main/src/domains/cgn/prod"
}
# (9 unchanged attributes hidden)
~ criteria {
# (6 unchanged attributes hidden)
~ dimension {
name = "Region"
~ values = [
~ "westeurope" -> "italynorth",
]
# (1 unchanged attribute hidden)
}
# (2 unchanged blocks hidden)
}
}
# module.functions.module.function_cgn.azurerm_monitor_metric_alert.function_app_health_check[0] will be destroyed
# (because azurerm_monitor_metric_alert.function_app_health_check is not in configuration)
- resource "azurerm_monitor_metric_alert" "function_app_health_check" {
- auto_mitigate = false -> null
- description = "Function availability is under threshold level. Runbook: -" -> null
- enabled = true -> null
- frequency = "PT5M" -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Insights/metricAlerts/[io-p-cgn-fn] Health Check Failed" -> null
- name = "[io-p-cgn-fn] Health Check Failed" -> null
- resource_group_name = "io-p-cgn-be-rg" -> null
- scopes = [
- "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Web/sites/io-p-cgn-fn",
] -> null
- severity = 1 -> null
- tags = {} -> null
- window_size = "PT5M" -> null
# (2 unchanged attributes hidden)
- criteria {
- aggregation = "Average" -> null
- metric_name = "HealthCheckStatus" -> null
- metric_namespace = "Microsoft.Web/sites" -> null
- operator = "LessThan" -> null
- skip_metric_validation = false -> null
- threshold = 50 -> null
}
}
# module.functions.module.function_cgn.azurerm_private_endpoint.blob[0] will be destroyed
# (because azurerm_private_endpoint.blob is not in configuration)
- resource "azurerm_private_endpoint" "blob" {
- custom_dns_configs = [] -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/privateEndpoints/iopcgnfnsdt-blob-endpoint" -> null
- location = "westeurope" -> null
- name = "iopcgnfnsdt-blob-endpoint" -> null
- network_interface = [
- {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/networkInterfaces/iopcgnfnsdt-blob-endpoint.nic.195f2d01-019f-4397-bcc9-30ee94b0d527"
- name = "iopcgnfnsdt-blob-endpoint.nic.195f2d01-019f-4397-bcc9-30ee94b0d527"
},
] -> null
- private_dns_zone_configs = [
- {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/privateEndpoints/iopcgnfnsdt-blob-endpoint/privateDnsZoneGroups/private-dns-zone-group/privateDnsZoneConfigs/privatelink.blob.core.windows.net"
- name = "privatelink.blob.core.windows.net"
- private_dns_zone_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net"
- record_sets = [
- {
- fqdn = "iopcgnfnsdt.privatelink.blob.core.windows.net"
- ip_addresses = [
- "10.0.240.77",
]
- name = "iopcgnfnsdt"
- ttl = 10
- type = "A"
},
]
},
] -> null
- resource_group_name = "io-p-cgn-be-rg" -> null
- subnet_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/virtualNetworks/io-p-vnet-common/subnets/pendpoints" -> null
- tags = {
- "CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
- "CreatedBy" = "Terraform"
- "Environment" = "Prod"
- "ManagementTeam" = "IO Enti & Servizi"
- "Owner" = "IO"
- "Source" = "https://github.com/pagopa/io-infra/blob/main/src/domains/cgn/prod"
} -> null
# (1 unchanged attribute hidden)
- private_dns_zone_group {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/privateEndpoints/iopcgnfnsdt-blob-endpoint/privateDnsZoneGroups/private-dns-zone-group" -> null
- name = "private-dns-zone-group" -> null
- private_dns_zone_ids = [
- "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net",
] -> null
}
- private_service_connection {
- is_manual_connection = false -> null
- name = "iopcgnfnsdt-blob" -> null
- private_connection_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Storage/storageAccounts/iopcgnfnsdt" -> null
- private_ip_address = "10.0.240.77" -> null
- subresource_names = [
- "blob",
] -> null
# (2 unchanged attributes hidden)
}
}
# module.functions.module.function_cgn.azurerm_private_endpoint.queue[0] will be destroyed
# (because azurerm_private_endpoint.queue is not in configuration)
- resource "azurerm_private_endpoint" "queue" {
- custom_dns_configs = [] -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/privateEndpoints/iopcgnfnsdt-queue-endpoint" -> null
- location = "westeurope" -> null
- name = "iopcgnfnsdt-queue-endpoint" -> null
- network_interface = [
- {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/networkInterfaces/iopcgnfnsdt-queue-endpoint.nic.68d4c482-47d3-4080-9ef8-a2fa777a659d"
- name = "iopcgnfnsdt-queue-endpoint.nic.68d4c482-47d3-4080-9ef8-a2fa777a659d"
},
] -> null
- private_dns_zone_configs = [
- {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/privateEndpoints/iopcgnfnsdt-queue-endpoint/privateDnsZoneGroups/private-dns-zone-group/privateDnsZoneConfigs/privatelink.queue.core.windows.net"
- name = "privatelink.queue.core.windows.net"
- private_dns_zone_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.queue.core.windows.net"
- record_sets = [
- {
- fqdn = "iopcgnfnsdt.privatelink.queue.core.windows.net"
- ip_addresses = [
- "10.0.240.78",
]
- name = "iopcgnfnsdt"
- ttl = 10
- type = "A"
},
]
},
] -> null
- resource_group_name = "io-p-cgn-be-rg" -> null
- subnet_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/virtualNetworks/io-p-vnet-common/subnets/pendpoints" -> null
- tags = {
- "CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
- "CreatedBy" = "Terraform"
- "Environment" = "Prod"
- "ManagementTeam" = "IO Enti & Servizi"
- "Owner" = "IO"
- "Source" = "https://github.com/pagopa/io-infra/blob/main/src/domains/cgn/prod"
} -> null
# (1 unchanged attribute hidden)
- private_dns_zone_group {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/privateEndpoints/iopcgnfnsdt-queue-endpoint/privateDnsZoneGroups/private-dns-zone-group" -> null
- name = "private-dns-zone-group" -> null
- private_dns_zone_ids = [
- "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.queue.core.windows.net",
] -> null
}
- private_service_connection {
- is_manual_connection = false -> null
- name = "iopcgnfnsdt-queue" -> null
- private_connection_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Storage/storageAccounts/iopcgnfnsdt" -> null
- private_ip_address = "10.0.240.78" -> null
- subresource_names = [
- "queue",
] -> null
# (2 unchanged attributes hidden)
}
}
# module.functions.module.function_cgn.azurerm_private_endpoint.table[0] will be destroyed
# (because azurerm_private_endpoint.table is not in configuration)
- resource "azurerm_private_endpoint" "table" {
- custom_dns_configs = [] -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/privateEndpoints/iopcgnfnsdt-table-endpoint" -> null
- location = "westeurope" -> null
- name = "iopcgnfnsdt-table-endpoint" -> null
- network_interface = [
- {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/networkInterfaces/iopcgnfnsdt-table-endpoint.nic.2253a81d-9928-4cad-85f1-35742f187ee6"
- name = "iopcgnfnsdt-table-endpoint.nic.2253a81d-9928-4cad-85f1-35742f187ee6"
},
] -> null
- private_dns_zone_configs = [
- {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/privateEndpoints/iopcgnfnsdt-table-endpoint/privateDnsZoneGroups/private-dns-zone-group/privateDnsZoneConfigs/privatelink.table.core.windows.net"
- name = "privatelink.table.core.windows.net"
- private_dns_zone_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.table.core.windows.net"
- record_sets = [
- {
- fqdn = "iopcgnfnsdt.privatelink.table.core.windows.net"
- ip_addresses = [
- "10.0.240.76",
]
- name = "iopcgnfnsdt"
- ttl = 10
- type = "A"
},
]
},
] -> null
- resource_group_name = "io-p-cgn-be-rg" -> null
- subnet_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/virtualNetworks/io-p-vnet-common/subnets/pendpoints" -> null
- tags = {
- "CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
- "CreatedBy" = "Terraform"
- "Environment" = "Prod"
- "ManagementTeam" = "IO Enti & Servizi"
- "Owner" = "IO"
- "Source" = "https://github.com/pagopa/io-infra/blob/main/src/domains/cgn/prod"
} -> null
# (1 unchanged attribute hidden)
- private_dns_zone_group {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Network/privateEndpoints/iopcgnfnsdt-table-endpoint/privateDnsZoneGroups/private-dns-zone-group" -> null
- name = "private-dns-zone-group" -> null
- private_dns_zone_ids = [
- "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.table.core.windows.net",
] -> null
}
- private_service_connection {
- is_manual_connection = false -> null
- name = "iopcgnfnsdt-table" -> null
- private_connection_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Storage/storageAccounts/iopcgnfnsdt" -> null
- private_ip_address = "10.0.240.76" -> null
- subresource_names = [
- "table",
] -> null
# (2 unchanged attributes hidden)
}
}
# module.functions.module.function_cgn_merchant.azurerm_monitor_metric_alert.function_app_health_check[0] will be destroyed
# (because azurerm_monitor_metric_alert.function_app_health_check is not in configuration)
- resource "azurerm_monitor_metric_alert" "function_app_health_check" {
- auto_mitigate = false -> null
- description = "Function availability is under threshold level. Runbook: -" -> null
- enabled = true -> null
- frequency = "PT5M" -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Insights/metricAlerts/[io-p-cgn-merchant-fn] Health Check Failed" -> null
- name = "[io-p-cgn-merchant-fn] Health Check Failed" -> null
- resource_group_name = "io-p-cgn-be-rg" -> null
- scopes = [
- "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Web/sites/io-p-cgn-merchant-fn",
] -> null
- severity = 1 -> null
- tags = {} -> null
- window_size = "PT5M" -> null
# (2 unchanged attributes hidden)
- criteria {
- aggregation = "Average" -> null
- metric_name = "HealthCheckStatus" -> null
- metric_namespace = "Microsoft.Web/sites" -> null
- operator = "LessThan" -> null
- skip_metric_validation = false -> null
- threshold = 50 -> null
}
}
# module.redis.module.redis_cgn.azurerm_private_endpoint.this[0] will be destroyed
# (because azurerm_private_endpoint.this is not in configuration)
- resource "azurerm_private_endpoint" "this" {
- custom_dns_configs = [] -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.Network/privateEndpoints/io-p-redis-cgn-std-private-endpoint" -> null
- location = "westeurope" -> null
- name = "io-p-redis-cgn-std-private-endpoint" -> null
- network_interface = [
- {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.Network/networkInterfaces/io-p-redis-cgn-std-private-endpoint.nic.18e255e9-af62-4507-9810-3835521c37ce"
- name = "io-p-redis-cgn-std-private-endpoint.nic.18e255e9-af62-4507-9810-3835521c37ce"
},
] -> null
- private_dns_zone_configs = [
- {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.Network/privateEndpoints/io-p-redis-cgn-std-private-endpoint/privateDnsZoneGroups/io-p-redis-cgn-std-private-dns-zone-group/privateDnsZoneConfigs/privatelink.redis.cache.windows.net"
- name = "privatelink.redis.cache.windows.net"
- private_dns_zone_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.redis.cache.windows.net"
- record_sets = [
- {
- fqdn = "io-p-redis-cgn-std.privatelink.redis.cache.windows.net"
- ip_addresses = [
- "10.0.14.4",
]
- name = "io-p-redis-cgn-std"
- ttl = 10
- type = "A"
},
]
},
] -> null
- resource_group_name = "io-p-rg-cgn" -> null
- subnet_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/virtualNetworks/io-p-vnet-common/subnets/io-p-redis-cgn-snet" -> null
- tags = {
- "CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
- "CreatedBy" = "Terraform"
- "Environment" = "Prod"
- "ManagementTeam" = "IO Enti & Servizi"
- "Owner" = "IO"
- "Source" = "https://github.com/pagopa/io-infra/blob/main/src/domains/cgn/prod"
} -> null
# (1 unchanged attribute hidden)
- private_dns_zone_group {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.Network/privateEndpoints/io-p-redis-cgn-std-private-endpoint/privateDnsZoneGroups/io-p-redis-cgn-std-private-dns-zone-group" -> null
- name = "io-p-redis-cgn-std-private-dns-zone-group" -> null
- private_dns_zone_ids = [
- "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.redis.cache.windows.net",
] -> null
}
- private_service_connection {
- is_manual_connection = false -> null
- name = "io-p-redis-cgn-std-private-service-connection" -> null
- private_connection_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.Cache/redis/io-p-redis-cgn-std" -> null
- private_ip_address = "10.0.14.4" -> null
- subresource_names = [
- "redisCache",
] -> null
# (2 unchanged attributes hidden)
}
}
# module.functions.module.function_cgn.module.storage_account.azurerm_monitor_metric_alert.storage_account_low_availability[0] will be destroyed
# (because azurerm_monitor_metric_alert.storage_account_low_availability is not in configuration)
- resource "azurerm_monitor_metric_alert" "storage_account_low_availability" {
- auto_mitigate = false -> null
- description = "The average availability is less than 99.8%. Runbook: not needed." -> null
- enabled = true -> null
- frequency = "PT5M" -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Insights/metricAlerts/[iopcgnfnst] Low Availability" -> null
- name = "[iopcgnfnst] Low Availability" -> null
- resource_group_name = "io-p-cgn-be-rg" -> null
- scopes = [
- "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Storage/storageAccounts/iopcgnfnst",
] -> null
- severity = 0 -> null
- tags = {
- "CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
- "CreatedBy" = "Terraform"
- "Environment" = "Prod"
- "ManagementTeam" = "IO Enti & Servizi"
- "Owner" = "IO"
- "Source" = "https://github.com/pagopa/io-infra/blob/main/src/domains/cgn/prod"
} -> null
- window_size = "PT5M" -> null
# (2 unchanged attributes hidden)
- criteria {
- aggregation = "Average" -> null
- metric_name = "Availability" -> null
- metric_namespace = "Microsoft.Storage/storageAccounts" -> null
- operator = "LessThan" -> null
- skip_metric_validation = false -> null
- threshold = 99.8 -> null
}
}
# module.functions.module.function_cgn.module.storage_account_durable_function[0].azurerm_monitor_metric_alert.storage_account_low_availability[0] will be destroyed
# (because azurerm_monitor_metric_alert.storage_account_low_availability is not in configuration)
- resource "azurerm_monitor_metric_alert" "storage_account_low_availability" {
- auto_mitigate = false -> null
- description = "The average availability is less than 99.8%. Runbook: not needed." -> null
- enabled = true -> null
- frequency = "PT5M" -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Insights/metricAlerts/[iopcgnfnsdt] Low Availability" -> null
- name = "[iopcgnfnsdt] Low Availability" -> null
- resource_group_name = "io-p-cgn-be-rg" -> null
- scopes = [
- "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Storage/storageAccounts/iopcgnfnsdt",
] -> null
- severity = 0 -> null
- tags = {
- "CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
- "CreatedBy" = "Terraform"
- "Environment" = "Prod"
- "ManagementTeam" = "IO Enti & Servizi"
- "Owner" = "IO"
- "Source" = "https://github.com/pagopa/io-infra/blob/main/src/domains/cgn/prod"
} -> null
- window_size = "PT5M" -> null
# (2 unchanged attributes hidden)
- criteria {
- aggregation = "Average" -> null
- metric_name = "Availability" -> null
- metric_namespace = "Microsoft.Storage/storageAccounts" -> null
- operator = "LessThan" -> null
- skip_metric_validation = false -> null
- threshold = 99.8 -> null
}
}
# module.functions.module.function_cgn_merchant.module.storage_account.azurerm_monitor_metric_alert.storage_account_low_availability[0] will be destroyed
# (because azurerm_monitor_metric_alert.storage_account_low_availability is not in configuration)
- resource "azurerm_monitor_metric_alert" "storage_account_low_availability" {
- auto_mitigate = false -> null
- description = "The average availability is less than 99.8%. Runbook: not needed." -> null
- enabled = true -> null
- frequency = "PT5M" -> null
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Insights/metricAlerts/[iopcgnmerchantfnst] Low Availability" -> null
- name = "[iopcgnmerchantfnst] Low Availability" -> null
- resource_group_name = "io-p-cgn-be-rg" -> null
- scopes = [
- "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Storage/storageAccounts/iopcgnmerchantfnst",
] -> null
- severity = 0 -> null
- tags = {
- "CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
- "CreatedBy" = "Terraform"
- "Environment" = "Prod"
- "ManagementTeam" = "IO Enti & Servizi"
- "Owner" = "IO"
- "Source" = "https://github.com/pagopa/io-infra/blob/main/src/domains/cgn/prod"
} -> null
- window_size = "PT5M" -> null
# (2 unchanged attributes hidden)
- criteria {
- aggregation = "Average" -> null
- metric_name = "Availability" -> null
- metric_namespace = "Microsoft.Storage/storageAccounts" -> null
- operator = "LessThan" -> null
- skip_metric_validation = false -> null
- threshold = 99.8 -> null
}
}
Plan: 2 to add, 2 to change, 16 to destroy.
Changes to Outputs:
~ cosmos_cgn = {
~ id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.DocumentDB/databaseAccounts/io-p-cosmos-cgn" -> (known after apply)
name = "io-p-cosmos-cgn"
}
- function_app_cgn = {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Web/sites/io-p-cgn-fn"
- name = "io-p-cgn-fn"
} -> null
- function_app_cgn_merchant = {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-cgn-be-rg/providers/Microsoft.Web/sites/io-p-cgn-merchant-fn"
- name = "io-p-cgn-merchant-fn"
} -> null
- redis = {
- id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-cgn/providers/Microsoft.Cache/redis/io-p-redis-cgn-std"
- name = "io-p-redis-cgn-std"
} -> null
─────────────────────────────────────────────────────────────────────────────
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.
|
michaeldisaro
temporarily deployed
to
prod-ci
November 18, 2024 10:24 — with
GitHub Actions
Inactive
michaeldisaro
temporarily deployed
to
prod-ci
November 18, 2024 10:30 — with
GitHub Actions
Inactive
michaeldisaro
temporarily deployed
to
prod-ci
November 18, 2024 10:48 — with
GitHub Actions
Inactive
michaeldisaro
temporarily deployed
to
prod-ci
November 18, 2024 14:12 — with
GitHub Actions
Inactive
michaeldisaro
temporarily deployed
to
prod-ci
November 18, 2024 16:32 — with
GitHub Actions
Inactive
michaeldisaro
temporarily deployed
to
prod-ci
November 19, 2024 11:28 — with
GitHub Actions
Inactive
michaeldisaro
temporarily deployed
to
prod-ci
November 19, 2024 11:34 — with
GitHub Actions
Inactive
Quality Gate passedIssues Measures |
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
We migrated to ITN. We deleted old resources in WEU.
Major Changes