Skip to content

Test PR: Check if plan trigger work for multiproject#404

Draft
mamu0 wants to merge 15 commits into
test-multiproject-terraform-planfrom
test-multiproject-terraform-plan-2
Draft

Test PR: Check if plan trigger work for multiproject#404
mamu0 wants to merge 15 commits into
test-multiproject-terraform-planfrom
test-multiproject-terraform-plan-2

Conversation

@mamu0

@mamu0 mamu0 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@changeset-bot

changeset-bot Bot commented Jul 10, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 75a0703

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mamu0
mamu0 temporarily deployed to infra-dev-ci July 10, 2026 14:03 — with GitHub Actions Inactive
@github-actions

Copy link
Copy Markdown
Contributor

Tip

✅ All Terraform module locks are up to date

No module changes detected - everything is in sync!

📋 Pre-commit Output Log
[INFO] Initializing environment for https://github.com/antonbabenko/pre-commit-terraform.
[INFO] Initializing environment for https://github.com/pagopa/dx.
Lock Terraform Registry modules..........................................Passed

Generated on Fri Jul 10 14:29:34 UTC 2026
Run lock_modules on folder: infra/resources/dev/

@github-actions

Copy link
Copy Markdown
Contributor
📋 Pre-commit Output Log
[INFO] Initializing environment for https://github.com/antonbabenko/pre-commit-terraform.
[INFO] Initializing environment for https://github.com/pagopa/dx.
Lock Terraform Registry modules......................(no files to check)Skipped

Generated on Fri Jul 10 14:29:58 UTC 2026
Run lock_modules on folder: infra/resource_test/dev/project_2/

@github-actions

Copy link
Copy Markdown
Contributor

Tip

✅ All Terraform module locks are up to date

No module changes detected - everything is in sync!

📋 Pre-commit Output Log
[INFO] Initializing environment for https://github.com/antonbabenko/pre-commit-terraform.
[INFO] Initializing environment for https://github.com/pagopa/dx.
Lock Terraform Registry modules..........................................Passed

Generated on Fri Jul 10 14:30:02 UTC 2026
Run lock_modules on folder: infra/resources/dev/scripts/

@github-actions

Copy link
Copy Markdown
Contributor

Tip

✅ All Terraform module locks are up to date

No module changes detected - everything is in sync!

📋 Pre-commit Output Log
[INFO] Initializing environment for https://github.com/antonbabenko/pre-commit-terraform.
[INFO] Initializing environment for https://github.com/pagopa/dx.
Terraform validate with tflint.......................................................Failed
- hook id: terraform_tflint
- exit code: 1

Command 'tflint --init' successfully done:
Installing "azurerm" plugin...
Installed "azurerm" (source: github.com/terraform-linters/tflint-ruleset-azurerm, version: 0.27.0)



TFLint in infra/resource_test/dev/project_2/:
Failed to load configurations; monitoring.tf:1,1-31: "playground_monitoring" module is not found; The module directory "../_modules/monitoring" does not exist or cannot be read., and 1 other diagnostic(s):

Error: "playground_monitoring" module is not found

  on monitoring.tf line 1, in module "playground_monitoring":
   1: module "playground_monitoring" {

The module directory "../_modules/monitoring" does not exist or cannot be read.

Error: "to_do_api" module is not found

  on apim.tf line 54, in module "to_do_api":
  54: module "to_do_api" {

The module directory "../_modules/api" does not exist or cannot be read.

Terraform fmt........................................................................Passed
Terraform validate...................................................................Failed
- hook id: terraform_validate
- exit code: 1

'terraform init' failed, '/usr/bin/terraform validate' skipped: infra/resource_test/dev/project_2
Initializing modules...
Downloading registry.terraform.io/pagopa-dx/azure-api-management/azurerm 2.2.3 for apim...
- apim in .terraform/modules/apim
Downloading registry.terraform.io/pagopa-dx/azure-cosmos-account/azurerm 0.4.3 for cosmos...
- cosmos in .terraform/modules/cosmos
Downloading registry.terraform.io/pagopa-dx/azure-naming-convention/azurerm 0.0.8 for naming_convention...
- naming_convention in .terraform/modules/naming_convention
- playground_monitoring in
Downloading registry.terraform.io/pagopa-dx/azure-managed-redis/azurerm 0.1.2 for redis...
- redis in .terraform/modules/redis
- to_do_api in
Downloading registry.terraform.io/pagopa-dx/azure-function-app/azurerm 5.0.2 for todo_api_function_app...
- todo_api_function_app in .terraform/modules/todo_api_function_app
Downloading registry.terraform.io/pagopa-dx/azure-role-assignments/azurerm 2.1.0 for todo_app_service_roles...
- todo_app_service_roles in .terraform/modules/todo_app_service_roles
- todo_app_service_roles.apim in .terraform/modules/todo_app_service_roles/modules/apim
- todo_app_service_roles.app_config in .terraform/modules/todo_app_service_roles/modules/app_config
- todo_app_service_roles.cosmos in .terraform/modules/todo_app_service_roles/modules/cosmos
- todo_app_service_roles.event_hub in .terraform/modules/todo_app_service_roles/modules/event_hub
- todo_app_service_roles.key_vault in .terraform/modules/todo_app_service_roles/modules/key_vault
- todo_app_service_roles.managed_redis in .terraform/modules/todo_app_service_roles/modules/managed_redis
- todo_app_service_roles.redis in .terraform/modules/todo_app_service_roles/modules/redis
- todo_app_service_roles.service_bus in .terraform/modules/todo_app_service_roles/modules/service_bus
- todo_app_service_roles.storage_account in .terraform/modules/todo_app_service_roles/modules/storage_account
Downloading registry.terraform.io/pagopa-dx/azure-role-assignments/azurerm 2.1.0 for todo_function_app_roles...
- todo_function_app_roles in .terraform/modules/todo_function_app_roles
- todo_function_app_roles.apim in .terraform/modules/todo_function_app_roles/modules/apim
- todo_function_app_roles.app_config in .terraform/modules/todo_function_app_roles/modules/app_config
- todo_function_app_roles.cosmos in .terraform/modules/todo_function_app_roles/modules/cosmos
- todo_function_app_roles.event_hub in .terraform/modules/todo_function_app_roles/modules/event_hub
- todo_function_app_roles.key_vault in .terraform/modules/todo_function_app_roles/modules/key_vault
- todo_function_app_roles.managed_redis in .terraform/modules/todo_function_app_roles/modules/managed_redis
- todo_function_app_roles.redis in .terraform/modules/todo_function_app_roles/modules/redis
- todo_function_app_roles.service_bus in .terraform/modules/todo_function_app_roles/modules/service_bus
- todo_function_app_roles.storage_account in .terraform/modules/todo_function_app_roles/modules/storage_account
Downloading registry.terraform.io/pagopa-dx/azure-app-service/azurerm 3.0.0 for todo_webapp_app_service...
- todo_webapp_app_service in .terraform/modules/todo_webapp_app_service
╷
│ Error: Unreadable module directory
│ 
│ Unable to evaluate directory symlink: lstat ../_modules: no such file or
│ directory
╵
╷
│ Error: Unreadable module directory
│ 
│ The directory  could not be read for module "playground_monitoring" at
│ monitoring.tf:1.
╵
╷
│ Error: Unreadable module directory
│ 
│ Unable to evaluate directory symlink: lstat ../_modules: no such file or
│ directory
╵
╷
│ Error: Unreadable module directory
│ 
│ The directory  could not be read for module "to_do_api" at apim.tf:54.
╵

Terraform validate with trivy....................................(no files to check)Skipped
Terraform Providers Lock (on staged .terraform.lock.hcl files).......................Passed
- hook id: terraform_providers_lock_staged
- duration: 0.02s

No .terraform.lock.hcl files to process.

Lock Terraform Registry modules......................................................Passed

Generated on Fri Jul 10 14:30:03 UTC 2026
Run all checks on modified files

@github-actions

Copy link
Copy Markdown
Contributor
📋 Pre-commit Output Log
[INFO] Initializing environment for https://github.com/antonbabenko/pre-commit-terraform.
[INFO] Initializing environment for https://github.com/pagopa/dx.
Lock Terraform Registry modules......................(no files to check)Skipped

Generated on Fri Jul 10 14:30:04 UTC 2026
Run lock_modules on folder: infra/resource_test/dev/project_1/

@github-actions

Copy link
Copy Markdown
Contributor

📖 Terraform Plan (infra/resources/dev/scripts) - failure

Show Plan

Terraform plan execution failed. Check the workflow logs for full details.

@github-actions

Copy link
Copy Markdown
Contributor

📖 Terraform Plan (infra/resource_test/dev/project_2) - skipped

Show Plan

Terraform plan execution failed. Check the workflow logs for full details.

@github-actions

Copy link
Copy Markdown
Contributor

📖 Terraform Plan (infra/resource_test/dev/project_1) - skipped

Show Plan

Terraform plan execution failed. Check the workflow logs for full details.

@github-actions

Copy link
Copy Markdown
Contributor

📖 Terraform Plan (infra/resources/dev) - success

Show Plan
  # module.apim.azurerm_api_management.this will be updated in-place
  ~ resource "azurerm_api_management" "this" {
        id                            = "/subscriptions/35e6e3b2-4388-470e-a1b9-ad3bc34326d1/resourceGroups/dx-d-itn-playground-rg-01/providers/Microsoft.ApiManagement/service/dx-d-itn-playground-pg-apim-01"
        name                          = "dx-d-itn-playground-pg-apim-01"
        tags                          = {
            "BusinessUnit"   = "DevEx"
            "CostCenter"     = "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Dev"
            "ManagementTeam" = "Developer Experience"
            "ModuleName"     = "azure_api_management"
            "ModuleSource"   = "DX"
            "ModuleVersion"  = "2.2.3"
            "Scope"          = "DX Playground"
            "Source"         = "https://github.com/pagopa/dx-playground/tree/main/infra/repository"
        }
        # (21 unchanged attributes hidden)

      ~ sign_up {
          ~ enabled = true -> false

            # (1 unchanged block hidden)
        }

        # (8 unchanged blocks hidden)
    }

  # module.cosmos.azurerm_cosmosdb_account.this will be updated in-place
  ~ resource "azurerm_cosmosdb_account" "this" {
        id                                       = "/subscriptions/35e6e3b2-4388-470e-a1b9-ad3bc34326d1/resourceGroups/dx-d-itn-playground-rg-01/providers/Microsoft.DocumentDB/databaseAccounts/dx-d-itn-playground-pg-cosno-01"
        name                                     = "dx-d-itn-playground-pg-cosno-01"
      ~ tags                                     = {
            "BusinessUnit"   = "DevEx"
            "CostCenter"     = "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Dev"
            "ManagementTeam" = "Developer Experience"
            "ModuleName"     = "azure_cosmos_account"
            "ModuleSource"   = "DX"
          ~ "ModuleVersion"  = "0.4.2" -> "0.4.3"
            "Scope"          = "DX Playground"
            "Source"         = "https://github.com/pagopa/dx-playground/tree/main/infra/repository"
        }
        # (32 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.cosmos.azurerm_private_endpoint.sql[0] will be updated in-place
  ~ resource "azurerm_private_endpoint" "sql" {
        id                            = "/subscriptions/35e6e3b2-4388-470e-a1b9-ad3bc34326d1/resourceGroups/dx-d-itn-playground-rg-01/providers/Microsoft.Network/privateEndpoints/dx-d-itn-playground-pg-cosno-pep-01"
        name                          = "dx-d-itn-playground-pg-cosno-pep-01"
      ~ tags                          = {
            "BusinessUnit"   = "DevEx"
            "CostCenter"     = "TS000 - Tecnologia e Servizi"
            "CreatedBy"      = "Terraform"
            "Environment"    = "Dev"
            "ManagementTeam" = "Developer Experience"
            "ModuleName"     = "azure_cosmos_account"
            "ModuleSource"   = "DX"
          ~ "ModuleVersion"  = "0.4.2" -> "0.4.3"
            "Scope"          = "DX Playground"
            "Source"         = "https://github.com/pagopa/dx-playground/tree/main/infra/repository"
        }
        # (7 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

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

Warning: Argument is deprecated

  with module.playground_monitoring.azurerm_application_insights.main,
  on ../_modules/monitoring/main.tf line 22, in resource "azurerm_application_insights" "main":
  22:   local_authentication_disabled = true

`local_authentication_disabled` has been deprecated in favour of
`local_authentication_enabled` and will be removed in v5.0 of the AzureRM
Provider

(and one more similar warning elsewhere)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant