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

[IOPLT-807] Update Azure Tags of Common module resources #1376

Merged
merged 3 commits into from
Jan 15, 2025

Conversation

Krusty93
Copy link
Contributor

@Krusty93 Krusty93 commented Jan 9, 2025

Motivation and Context

Tagging strategy have been updated

Major Changes

Update tags

Dependencies

Testing

Documentation

Other Considerations

Copy link

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

Terraform Plan
module.application_gateway_weu.data.azurerm_linux_web_app.ipatente_practices_app_itn: Still reading... [10s elapsed]
data.azurerm_linux_function_app.lollipop_function: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.fims_op_app: Still reading... [10s elapsed]
data.azurerm_linux_function_app.function_profile: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.ipatente_vehicles_app_itn: Still reading... [10s elapsed]
data.azurerm_linux_function_app.services_app_backend_function_app: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.appservice_continua: 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_assets_cdn: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.ipatente_payments_app_itn: Still reading... [10s elapsed]
data.azurerm_linux_function_app.lollipop_function: Still reading... [20s elapsed]
data.azurerm_linux_function_app.function_profile: Still reading... [20s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.ipatente_vehicles_app_itn: Still reading... [20s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.ipatente_payments_app_itn: Still reading... [20s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.appservice_selfcare_be: Still reading... [10s elapsed]
data.azurerm_linux_function_app.wallet_user: Still reading... [10s elapsed]
data.azurerm_linux_function_app.io_fims_user: Still reading... [10s elapsed]
data.azurerm_linux_web_app.firmaconio_selfcare_web_app: Still reading... [10s elapsed]
data.azurerm_linux_function_app.eucovidcert: Still reading... [10s elapsed]
data.azurerm_linux_function_app.io_sign_user: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.appservice_devportal_be: Still reading... [10s elapsed]
data.azurerm_linux_function_app.app_messages_xl[0]: Still reading... [10s elapsed]
data.azurerm_linux_function_app.app_messages_xl[1]: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.ipatente_licences_app_itn: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.cms_backoffice_app_itn: Still reading... [10s elapsed]

Note: 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.global.module.dns.azurerm_private_dns_zone.privatelink_documents has changed
  ~ resource "azurerm_private_dns_zone" "privatelink_documents" {
        id                                                    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.documents.azure.com"
        name                                                  = "privatelink.documents.azure.com"
      ~ tags                                                  = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (5 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.global.module.dns.azurerm_private_dns_zone.privatelink_postgres_database_azure_com has changed
  ~ resource "azurerm_private_dns_zone" "privatelink_postgres_database_azure_com" {
        id                                                    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.postgres.database.azure.com"
        name                                                  = "privatelink.postgres.database.azure.com"
      ~ number_of_record_sets                                 = 5 -> 6
      ~ tags                                                  = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (4 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.global.module.dns.azurerm_private_dns_zone.privatelink_servicebus has changed
  ~ resource "azurerm_private_dns_zone" "privatelink_servicebus" {
        id                                                    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.Network/privateDnsZones/privatelink.servicebus.windows.net"
        name                                                  = "privatelink.servicebus.windows.net"
      ~ tags                                                  = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (5 unchanged attributes hidden)

        # (1 unchanged block 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

Terraform will perform the following actions:

  # module.apim_itn.azurerm_private_dns_a_record.apim_management_azure_api_net[0] will be updated in-place
  ~ resource "azurerm_private_dns_a_record" "apim_management_azure_api_net" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/management.azure-api.net/A/io-p-itn-apim-01"
        name                = "io-p-itn-apim-01"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
            "Source"         = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (5 unchanged attributes hidden)
    }

  # module.apim_itn.azurerm_private_dns_a_record.apim_scm_azure_api_net[0] will be updated in-place
  ~ resource "azurerm_private_dns_a_record" "apim_scm_azure_api_net" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/scm.azure-api.net/A/io-p-itn-apim-01"
        name                = "io-p-itn-apim-01"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
            "Source"         = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (5 unchanged attributes hidden)
    }

  # 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                = {
            "BusinessUnit"   = "App IO"
            "CostCenter"     = "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
            "ManagementTeam" = "IO Platform"
            "Source"         = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (4 unchanged attributes hidden)

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

        # (1 unchanged block hidden)
    }

  # module.assets_cdn_weu.azurerm_dns_cname_record.assets_cdn_io_italia_it will be updated in-place
  ~ resource "azurerm_dns_cname_record" "assets_cdn_io_italia_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.italia.it/CNAME/assets.cdn"
        name                = "assets.cdn"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
            "Source"         = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.assets_cdn_weu.azurerm_dns_cname_record.assets_cdn_io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_cname_record" "assets_cdn_io_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.pagopa.it/CNAME/assets.cdn"
        name                = "assets.cdn"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
            "Source"         = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.api_app_io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "api_app_io_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.pagopa.it/A/api-app"
        name                = "api-app"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.api_internal_io_italia_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "api_internal_io_italia_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.italia.it/A/api-internal"
        name                = "api-internal"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.api_io_italia_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "api_io_italia_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.italia.it/A/api"
        name                = "api"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.api_io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "api_io_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.pagopa.it/A/api"
        name                = "api"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.api_io_selfcare_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "api_io_selfcare_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.selfcare.pagopa.it/A/api"
        name                = "api"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.api_mtls_io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "api_mtls_io_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.pagopa.it/A/api-mtls"
        name                = "api-mtls"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.api_web_io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "api_web_io_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.pagopa.it/A/api-web"
        name                = "api-web"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.app_backend_io_italia_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "app_backend_io_italia_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.italia.it/A/app-backend"
        name                = "app-backend"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.continua_io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "continua_io_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.pagopa.it/A/continua"
        name                = "continua"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.developerportal_backend_io_italia_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "developerportal_backend_io_italia_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.italia.it/A/developerportal-backend"
        name                = "developerportal-backend"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.firmaconio_selfcare_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "firmaconio_selfcare_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/firmaconio.selfcare.pagopa.it/A/@"
        name                = "@"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.licences_ipatente_io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "licences_ipatente_io_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/ipatente.io.pagopa.it/A/licences"
        name                = "licences"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.oauth_io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "oauth_io_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.pagopa.it/A/oauth"
        name                = "oauth"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.openid_provider_io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "openid_provider_io_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.pagopa.it/A/openid-provider"
        name                = "openid-provider"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.payments_ipatente_io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "payments_ipatente_io_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/ipatente.io.pagopa.it/A/payments"
        name                = "payments"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.practices_ipatente_io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "practices_ipatente_io_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/ipatente.io.pagopa.it/A/practices"
        name                = "practices"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.selfcare_io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "selfcare_io_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.pagopa.it/A/selfcare"
        name                = "selfcare"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_a_record.vehicles_ipatente_io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_a_record" "vehicles_ipatente_io_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/ipatente.io.pagopa.it/A/vehicles"
        name                = "vehicles"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (6 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_caa_record.firmaconio_selfcare_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_caa_record" "firmaconio_selfcare_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/firmaconio.selfcare.pagopa.it/CAA/@"
        name                = "@"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (4 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

  # module.global.module.dns.azurerm_dns_caa_record.io_italia_it will be updated in-place
  ~ resource "azurerm_dns_caa_record" "io_italia_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.italia.it/CAA/@"
        name                = "@"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (4 unchanged attributes hidden)

        # (7 unchanged blocks hidden)
    }

  # module.global.module.dns.azurerm_dns_caa_record.io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_caa_record" "io_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.pagopa.it/CAA/@"
        name                = "@"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (4 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

  # module.global.module.dns.azurerm_dns_caa_record.io_selfcare_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_caa_record" "io_selfcare_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.selfcare.pagopa.it/CAA/@"
        name                = "@"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (4 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

  # module.global.module.dns.azurerm_dns_caa_record.ioweb_it will be updated in-place
  ~ resource "azurerm_dns_caa_record" "ioweb_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/ioapp.it/CAA/@"
        name                = "@"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (4 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

  # module.global.module.dns.azurerm_dns_caa_record.ipatente_io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_caa_record" "ipatente_io_pagopa_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/ipatente.io.pagopa.it/CAA/@"
        name                = "@"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (4 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

  # module.global.module.dns.azurerm_dns_ns_record.firma_io_pagopa_it_ns will be updated in-place
  ~ resource "azurerm_dns_ns_record" "firma_io_pagopa_it_ns" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.pagopa.it/NS/firma"
        name                = "firma"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (5 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_ns_record.ipatente_io_pagopa_it_ns will be updated in-place
  ~ resource "azurerm_dns_ns_record" "ipatente_io_pagopa_it_ns" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.pagopa.it/NS/ipatente"
        name                = "ipatente"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (5 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_dns_txt_record.dmarc_ioweb_it will be updated in-place
  ~ resource "azurerm_dns_txt_record" "dmarc_ioweb_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/ioapp.it/TXT/_dmarc"
        name                = "_dmarc"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (4 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.global.module.dns.azurerm_dns_txt_record.io_italia_it will be updated in-place
  ~ resource "azurerm_dns_txt_record" "io_italia_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.italia.it/TXT/@"
        name                = "@"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (4 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

  # module.global.module.dns.azurerm_dns_txt_record.spf_ioweb_it will be updated in-place
  ~ resource "azurerm_dns_txt_record" "spf_ioweb_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/ioapp.it/TXT/@"
        name                = "@"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (4 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.global.module.dns.azurerm_dns_txt_record.zendeskverification_io_italia_it will be updated in-place
  ~ resource "azurerm_dns_txt_record" "zendeskverification_io_italia_it" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/io.italia.it/TXT/zendeskverification"
        name                = "zendeskverification"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (4 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.global.module.dns.azurerm_dns_zone.ipatente_io_pagopa_it will be updated in-place
  ~ resource "azurerm_dns_zone" "ipatente_io_pagopa_it" {
        id                        = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/dnsZones/ipatente.io.pagopa.it"
        name                      = "ipatente.io.pagopa.it"
      ~ tags                      = {
            "BusinessUnit"   = "App IO"
            "CostCenter"     = "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          ~ "ManagementTeam" = "IO Enti & Servizi" -> "IO Platform"
            "Source"         = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (4 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.global.module.dns.azurerm_private_dns_a_record.api_app_internal_io will be updated in-place
  ~ resource "azurerm_private_dns_a_record" "api_app_internal_io" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-internal/providers/Microsoft.Network/privateDnsZones/internal.io.pagopa.it/A/api-app"
        name                = "api-app"
      ~ tags                = {
          + "BusinessUnit"   = "App IO"
          ~ "CostCenter"     = "TS310 - PAGAMENTI & SERVIZI" -> "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          - "Owner"          = "IO" -> null
          ~ "Source"         = "https://github.com/pagopa/io-infra" -> "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (5 unchanged attributes hidden)
    }

  # module.global.module.dns.azurerm_private_dns_zone.privatelink_srch will be updated in-place
  ~ resource "azurerm_private_dns_zone" "privatelink_srch" {
        id                                                    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.search.windows.net"
        name                                                  = "privatelink.search.windows.net"
      ~ tags                                                  = {
            "BusinessUnit"   = "App IO"
            "CostCenter"     = "TS000 - Tecnologia e Servizi"
          + "CreatedBy"      = "Terraform"
            "Environment"    = "Prod"
            "ManagementTeam" = "IO Platform"
            "Source"         = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (5 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.global.module.dns.azurerm_private_dns_zone.privatelink_vault will be updated in-place
  ~ resource "azurerm_private_dns_zone" "privatelink_vault" {
        id                                                    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/privateDnsZones/privatelink.vaultcore.azure.net"
        name                                                  = "privatelink.vaultcore.azure.net"
      ~ tags                                                  = {
          + "BusinessUnit"   = "App IO"
          + "CostCenter"     = "TS000 - Tecnologia e Servizi"
          + "CreatedBy"      = "Terraform"
          + "Environment"    = "Prod"
          + "ManagementTeam" = "IO Platform"
          + "Source"         = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (5 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

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

Warning: Argument is deprecated

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

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

(and 53 more similar warnings elsewhere)

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

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

Copy link
Contributor

@christian-calabrese christian-calabrese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Krusty93 Krusty93 added this pull request to the merge queue Jan 15, 2025
Merged via the queue into main with commit 65a74b6 Jan 15, 2025
6 checks passed
@Krusty93 Krusty93 deleted the IOPLT-807-impostare-il-tag-del-centro-di-costo-common branch January 15, 2025 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants