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

[#IOPID-1987, IOPID-1989, IOPID-1988] LV Dependencies configuration #1212

Merged
merged 3 commits into from
Oct 1, 2024

Conversation

BurnedMarshal
Copy link
Contributor

List of changes

All fn-lv dependencies configuration are updated to pointing the new instance in ITN region

Motivation and context

The new fn-lv in itn region must be reached by the other function and backend

Type of changes

  • Add new resources
  • Update configuration to existing resources
  • Remove existing resources

Env to apply

  • DEV
  • UAT
  • PROD

Does this introduce a change to production resources with possible user impact?

  • Yes, users may be impacted applying this change
  • No

Does this introduce an unwanted change on infrastructure? Check terraform plan execution result

  • Yes
  • No

Other information


If PR is partially applied, why? (reserved to mantainers)

How to apply

After PR is approved

  1. run deploy pipeline from Azure DevOps io-platform-iac-projects
  2. select PR branch
  3. wait for approval

Copy link

sonarcloud bot commented Oct 1, 2024

Copy link

github-actions bot commented Oct 1, 2024

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

Terraform Plan
module.application_gateway_weu.data.azurerm_linux_web_app.appservice_devportal_be: Still reading... [10s elapsed]
data.azurerm_linux_function_app.function_cgn: 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.appservice_selfcare_be: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.session_manager: Still reading... [10s elapsed]
data.azurerm_linux_function_app.wallet_user: Still reading... [10s elapsed]
data.azurerm_linux_function_app.lollipop_function: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.cms_backoffice_app_itn: Still reading... [10s elapsed]
data.azurerm_linux_function_app.services_app_backend_function_app: Still reading... [10s elapsed]
data.azurerm_linux_function_app.function_app[0]: Still reading... [10s elapsed]
data.azurerm_linux_function_app.wallet_user: Still reading... [20s elapsed]
data.azurerm_linux_function_app.lollipop_function: Still reading... [20s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.cms_backoffice_app_itn: Still reading... [20s elapsed]
data.azurerm_linux_function_app.services_app_backend_function_app: Still reading... [20s elapsed]
data.azurerm_linux_function_app.function_app[1]: Still reading... [10s elapsed]
data.azurerm_linux_web_app.firmaconio_selfcare_web_app: Still reading... [10s elapsed]
data.azurerm_linux_function_app.io_sign_user: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.appservice_continua: Still reading... [10s elapsed]
data.azurerm_linux_function_app.eucovidcert: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.fims_op_app: Still reading... [10s elapsed]
module.application_gateway_weu.data.azurerm_linux_web_app.appservice_continua: Still reading... [20s elapsed]

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

Terraform will perform the following actions:

  # module.apim_weu.azurerm_api_management_subscription.pn_lc_subscription_v2 will be updated in-place
  ~ resource "azurerm_api_management_subscription" "pn_lc_subscription_v2" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-internal/providers/Microsoft.ApiManagement/service/io-p-apim-v2-api/subscriptions/4ab4fd2e-138b-4d2a-98af-0ca4bb23680e"
        # (10 unchanged attributes hidden)
    }

  # module.apim_weu.azurerm_api_management_user.pn_user_v2 will be updated in-place
  ~ resource "azurerm_api_management_user" "pn_user_v2" {
        id                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-internal/providers/Microsoft.ApiManagement/service/io-p-apim-v2-api/users/pnapimuser"
        # (7 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                = {
            "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.cosmos_api_weu.azurerm_cosmosdb_account.this will be updated in-place
  ~ resource "azurerm_cosmosdb_account" "this" {
        id                                       = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-internal/providers/Microsoft.DocumentDB/databaseAccounts/io-p-cosmos-api"
        name                                     = "io-p-cosmos-api"
        tags                                     = {
            "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"   = "Terraform"
            "Environment" = "Prod"
            "Owner"       = "IO"
            "Source"      = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (35 unchanged attributes hidden)

        # (13 unchanged blocks hidden)
    }

  # module.github_runner_itn.azurerm_container_app_environment.github_runner will be updated in-place
  ~ resource "azurerm_container_app_environment" "github_runner" {
        id                               = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-github-runner-rg-01/providers/Microsoft.App/managedEnvironments/io-p-itn-github-runner-cae-01"
        name                             = "io-p-itn-github-runner-cae-01"
        tags                             = {
            "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"   = "Terraform"
            "Environment" = "Prod"
            "Owner"       = "IO"
            "Source"      = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (12 unchanged attributes hidden)
    }

  # module.monitoring_weu.azurerm_application_insights.appi will be updated in-place
  ~ resource "azurerm_application_insights" "appi" {
        id                                    = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Insights/components/io-p-ai-common"
        name                                  = "io-p-ai-common"
        tags                                  = {
            "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"   = "Terraform"
            "Environment" = "Prod"
            "Owner"       = "IO"
            "Source"      = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (16 unchanged attributes hidden)
    }

  # module.monitoring_weu.azurerm_log_analytics_workspace.log will be updated in-place
  ~ resource "azurerm_log_analytics_workspace" "log" {
        id                                      = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.OperationalInsights/workspaces/io-p-law-common"
        name                                    = "io-p-law-common"
        tags                                    = {
            "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"   = "Terraform"
            "Environment" = "Prod"
            "Owner"       = "IO"
            "Source"      = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (14 unchanged attributes hidden)
    }

  # module.redis_weu.azurerm_redis_cache.common will be updated in-place
  ~ resource "azurerm_redis_cache" "common" {
        id                            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Cache/redis/io-p-redis-common"
        name                          = "io-p-redis-common"
        tags                          = {
            "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"   = "Terraform"
            "Environment" = "Prod"
            "Owner"       = "IO"
            "Source"      = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (24 unchanged attributes hidden)

        # (6 unchanged blocks hidden)
    }

  # module.apim_weu.module.apim_v2.azurerm_api_management.this will be updated in-place
  ~ resource "azurerm_api_management" "this" {
        id                            = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-internal/providers/Microsoft.ApiManagement/service/io-p-apim-v2-api"
        name                          = "io-p-apim-v2-api"
        tags                          = {
            "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"   = "Terraform"
            "Environment" = "Prod"
            "Owner"       = "IO"
            "Source"      = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (21 unchanged attributes hidden)

        # (9 unchanged blocks hidden)
    }

  # module.app_backend_li_weu.module.appservice_app_backend.azurerm_linux_web_app.this will be updated in-place
  ~ resource "azurerm_linux_web_app" "this" {
        id                                             = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-linux/providers/Microsoft.Web/sites/io-p-app-appbackendli"
        name                                           = "io-p-app-appbackendli"
        tags                                           = {
            "CostCenter"                                     = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"                                      = "Terraform"
            "Environment"                                    = "Prod"
            "Owner"                                          = "IO"
            "Source"                                         = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (22 unchanged attributes hidden)

      ~ site_config {
            # (25 unchanged attributes hidden)

          ~ ip_restriction {
                name                      = "rule"
              ~ virtual_network_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-msgs-sending-func-snet-01" -> "/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-citizen-auth-fast-login-snet-01"
                # (3 unchanged attributes hidden)
            }
          ~ ip_restriction {
                name                      = "rule"
              ~ virtual_network_subnet_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/virtualNetworks/io-p-vnet-common/subnets/io-p-services-snet-1" -> "/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-msgs-sending-func-snet-01"
                # (3 unchanged attributes hidden)
            }
          ~ ip_restriction {
                name                      = "rule"
              ~ virtual_network_subnet_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/virtualNetworks/io-p-vnet-common/subnets/io-p-services-snet-2" -> "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/virtualNetworks/io-p-vnet-common/subnets/io-p-services-snet-1"
                # (3 unchanged attributes hidden)
            }
          ~ ip_restriction {
                name                      = "rule"
              ~ virtual_network_subnet_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/virtualNetworks/io-p-vnet-common/subnets/io-p-admin-snet" -> "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/virtualNetworks/io-p-vnet-common/subnets/io-p-services-snet-2"
                # (3 unchanged attributes hidden)
            }
          ~ ip_restriction {
                name                      = "rule"
              ~ virtual_network_subnet_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/virtualNetworks/io-p-vnet-common/subnets/io-p-weu-fast-login-snet" -> "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/virtualNetworks/io-p-vnet-common/subnets/io-p-admin-snet"
                # (3 unchanged attributes hidden)
            }
          ~ ip_restriction {
                name                      = "rule"
              ~ virtual_network_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-msgs-sending-func-snet-01" -> "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Network/virtualNetworks/io-p-vnet-common/subnets/io-p-weu-fast-login-snet"
                # (3 unchanged attributes hidden)
            }
          ~ ip_restriction {
              - ip_address                = "51.144.56.96/28" -> null
                name                      = "rule"
              + virtual_network_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-citizen-auth-fast-login-snet-01"
                # (3 unchanged attributes hidden)
            }
          ~ ip_restriction {
              - ip_address                = "51.144.56.112/28" -> null
                name                      = "rule"
              + virtual_network_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-msgs-sending-func-snet-01"
                # (3 unchanged attributes hidden)
            }
          ~ ip_restriction {
              ~ ip_address = "51.144.56.128/28" -> "51.144.56.96/28"
                name       = "rule"
                # (3 unchanged attributes hidden)
            }
          ~ ip_restriction {
              ~ ip_address = "51.144.56.144/28" -> "51.144.56.112/28"
                name       = "rule"
                # (3 unchanged attributes hidden)
            }
          ~ ip_restriction {
              ~ ip_address = "51.144.56.160/28" -> "51.144.56.128/28"
                name       = "rule"
                # (3 unchanged attributes hidden)
            }
          ~ ip_restriction {
              ~ ip_address = "51.144.56.176/28" -> "51.144.56.144/28"
                name       = "rule"
                # (3 unchanged attributes hidden)
            }
          ~ ip_restriction {
              ~ ip_address = "51.124.16.195/32" -> "51.144.56.160/28"
                name       = "rule"
                # (3 unchanged attributes hidden)
            }
          ~ ip_restriction {
              ~ ip_address = "51.105.109.140/32" -> "51.144.56.176/28"
                name       = "rule"
                # (3 unchanged attributes hidden)
            }
          ~ ip_restriction {
              + ip_address                = "51.124.16.195/32"
              ~ name                      = "temp-rule" -> "rule"
              ~ priority                  = 300 -> 65000
              - virtual_network_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-citizen-auth-fast-login-snet-01" -> null
                # (2 unchanged attributes hidden)
            }
          + ip_restriction {
              + action     = "Allow"
              + ip_address = "51.105.109.140/32"
              + name       = "rule"
              + priority   = 65000
            }

            # (5 unchanged blocks hidden)
        }

        # (1 unchanged block hidden)
    }

  # module.app_backend_li_weu.module.appservice_app_backend_slot_staging.azurerm_linux_web_app_slot.this will be updated in-place
  ~ resource "azurerm_linux_web_app_slot" "this" {
        id                                             = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-linux/providers/Microsoft.Web/sites/io-p-app-appbackendli/slots/staging"
        name                                           = "staging"
        tags                                           = {
            "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"   = "Terraform"
            "Environment" = "Prod"
            "Owner"       = "IO"
            "Source"      = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (21 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

  # module.app_backend_weu["l1"].module.appservice_app_backend.azurerm_linux_web_app.this will be updated in-place
  ~ resource "azurerm_linux_web_app" "this" {
        id                                             = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-linux/providers/Microsoft.Web/sites/io-p-app-appbackendl1"
        name                                           = "io-p-app-appbackendl1"
        tags                                           = {
            "CostCenter"                                     = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"                                      = "Terraform"
            "Environment"                                    = "Prod"
            "Owner"                                          = "IO"
            "Source"                                         = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (22 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

  # module.app_backend_weu["l1"].module.appservice_app_backend_slot_staging.azurerm_linux_web_app_slot.this will be updated in-place
  ~ resource "azurerm_linux_web_app_slot" "this" {
        id                                             = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-linux/providers/Microsoft.Web/sites/io-p-app-appbackendl1/slots/staging"
        name                                           = "staging"
        tags                                           = {
            "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"   = "Terraform"
            "Environment" = "Prod"
            "Owner"       = "IO"
            "Source"      = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (21 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

  # module.app_backend_weu["l2"].module.appservice_app_backend.azurerm_linux_web_app.this will be updated in-place
  ~ resource "azurerm_linux_web_app" "this" {
        id                                             = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-linux/providers/Microsoft.Web/sites/io-p-app-appbackendl2"
        name                                           = "io-p-app-appbackendl2"
        tags                                           = {
            "CostCenter"                                     = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"                                      = "Terraform"
            "Environment"                                    = "Prod"
            "Owner"                                          = "IO"
            "Source"                                         = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (22 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

  # module.app_backend_weu["l2"].module.appservice_app_backend_slot_staging.azurerm_linux_web_app_slot.this will be updated in-place
  ~ resource "azurerm_linux_web_app_slot" "this" {
        id                                             = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-linux/providers/Microsoft.Web/sites/io-p-app-appbackendl2/slots/staging"
        name                                           = "staging"
        tags                                           = {
            "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"   = "Terraform"
            "Environment" = "Prod"
            "Owner"       = "IO"
            "Source"      = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (21 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

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

        # (87 unchanged blocks hidden)
    }

  # module.assets_cdn_weu.module.assets_cdn.azurerm_storage_account.this will be updated in-place
  ~ resource "azurerm_storage_account" "this" {
        id                                = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Storage/storageAccounts/iopstcdnassets"
        name                              = "iopstcdnassets"
        tags                              = {
            "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"   = "Terraform"
            "Environment" = "Prod"
            "Owner"       = "IO"
            "Source"      = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (42 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["import-command.io-fn-elt"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/import-command/authorizationRules/io-fn-elt"
        name                        = "io-fn-elt"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["import-command.ops"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/import-command/authorizationRules/ops"
        name                        = "ops"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["io-cosmosdb-message-status-for-view.io-cdc"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/io-cosmosdb-message-status-for-view/authorizationRules/io-cdc"
        name                        = "io-cdc"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["io-cosmosdb-message-status-for-view.io-messages"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/io-cosmosdb-message-status-for-view/authorizationRules/io-messages"
        name                        = "io-messages"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["io-cosmosdb-message-status.io-cdc"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/io-cosmosdb-message-status/authorizationRules/io-cdc"
        name                        = "io-cdc"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["io-cosmosdb-message-status.io-messages"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/io-cosmosdb-message-status/authorizationRules/io-messages"
        name                        = "io-messages"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["io-cosmosdb-profiles.io-fn-elt"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/io-cosmosdb-profiles/authorizationRules/io-fn-elt"
        name                        = "io-fn-elt"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["io-cosmosdb-profiles.pdnd"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/io-cosmosdb-profiles/authorizationRules/pdnd"
        name                        = "pdnd"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["io-cosmosdb-services.io-fn-elt"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/io-cosmosdb-services/authorizationRules/io-fn-elt"
        name                        = "io-fn-elt"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["io-cosmosdb-services.pdnd"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/io-cosmosdb-services/authorizationRules/pdnd"
        name                        = "pdnd"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["pdnd-io-cosmosdb-message-status.io-fn-elt"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/pdnd-io-cosmosdb-message-status/authorizationRules/io-fn-elt"
        name                        = "io-fn-elt"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["pdnd-io-cosmosdb-message-status.pdnd"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/pdnd-io-cosmosdb-message-status/authorizationRules/pdnd"
        name                        = "pdnd"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["pdnd-io-cosmosdb-messages.io-fn-elt"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/pdnd-io-cosmosdb-messages/authorizationRules/io-fn-elt"
        name                        = "io-fn-elt"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["pdnd-io-cosmosdb-messages.pdnd"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/pdnd-io-cosmosdb-messages/authorizationRules/pdnd"
        name                        = "pdnd"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["pdnd-io-cosmosdb-notification-status.io-fn-elt"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/pdnd-io-cosmosdb-notification-status/authorizationRules/io-fn-elt"
        name                        = "io-fn-elt"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["pdnd-io-cosmosdb-notification-status.pdnd"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/pdnd-io-cosmosdb-notification-status/authorizationRules/pdnd"
        name                        = "pdnd"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["pdnd-io-cosmosdb-service-preferences.io-fn-elt"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/pdnd-io-cosmosdb-service-preferences/authorizationRules/io-fn-elt"
        name                        = "io-fn-elt"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_authorization_rule.events["pdnd-io-cosmosdb-service-preferences.pdnd"] will be updated in-place
  ~ resource "azurerm_eventhub_authorization_rule" "events" {
        id                          = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns/eventhubs/pdnd-io-cosmosdb-service-preferences/authorizationRules/pdnd"
        name                        = "pdnd"
        # (10 unchanged attributes hidden)
    }

  # module.event_hubs_weu.module.event_hub.azurerm_eventhub_namespace.this will be updated in-place
  ~ resource "azurerm_eventhub_namespace" "this" {
        id                                  = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-evt-rg/providers/Microsoft.EventHub/namespaces/io-p-evh-ns"
        name                                = "io-p-evh-ns"
        tags                                = {
            "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"   = "Terraform"
            "Environment" = "Prod"
            "Owner"       = "IO"
            "Source"      = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (15 unchanged attributes hidden)
    }

  # module.redis_weu.module.redis_common_backup_zrs.azurerm_storage_account.this will be updated in-place
  ~ resource "azurerm_storage_account" "this" {
        id                                = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-common/providers/Microsoft.Storage/storageAccounts/iopstredisbackup"
        name                              = "iopstredisbackup"
        tags                              = {
            "CostCenter"  = "TS310 - PAGAMENTI & SERVIZI"
            "CreatedBy"   = "Terraform"
            "Environment" = "Prod"
            "Owner"       = "IO"
            "Source"      = "https://github.com/pagopa/io-infra/blob/main/src/common/prod"
        }
        # (33 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

Plan: 0 to add, 37 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 61, in resource "azurerm_web_application_firewall_policy" "api_app":
  61:         rule_group_name = "REQUEST-942-APPLICATION-ATTACK-SQLI"

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

(and 50 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.

@BurnedMarshal BurnedMarshal merged commit 404134b into main Oct 1, 2024
8 checks passed
@BurnedMarshal BurnedMarshal deleted the IOPID-1987-change-lv-dependencies-config branch October 1, 2024 07:27
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