-
Notifications
You must be signed in to change notification settings - Fork 1
Avoid showing providers versions in local modules #1001
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
base: main
Are you sure you want to change the base?
Avoid showing providers versions in local modules #1001
Conversation
|
📋 Pre-commit Output Log
Generated on Thu Oct 16 16:24:08 UTC 2025 |
Tip ✅ All Terraform module locks are up to dateNo module changes detected - everything is in sync! 📋 Pre-commit Output Log
Generated on Thu Oct 16 16:24:14 UTC 2025 |
Tip ✅ All Terraform module locks are up to dateNo module changes detected - everything is in sync! 📋 Pre-commit Output Log
Generated on Thu Oct 16 16:24:21 UTC 2025 |
📖 Terraform Plan (infra/resources//prod) - successShow Plan # module.dx_website.azurerm_static_web_app_custom_domain.this has changed
~ resource "azurerm_static_web_app_custom_domain" "this" {
id = "/subscriptions/02a23258-2e41-433c-8e9a-465b99e77bca/resourceGroups/dx-p-itn-common-rg-01/providers/Microsoft.Web/staticSites/dx-p-itn-website-stapp-01/customDomains/dx.pagopa.it"
- validation_token = (sensitive value) -> null
# (3 unchanged attributes 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.dx_website.azurerm_dns_txt_record.validation will be updated in-place
~ resource "azurerm_dns_txt_record" "validation" {
id = "/subscriptions/02a23258-2e41-433c-8e9a-465b99e77bca/resourceGroups/dx-p-itn-network-rg-01/providers/Microsoft.Network/dnsZones/dx.pagopa.it/TXT/_dnsauth.dx.pagopa.it"
name = "_dnsauth.dx.pagopa.it"
tags = {}
# (4 unchanged attributes hidden)
- record {
# At least one attribute in this block is (or was) sensitive,
# so its contents will not be displayed.
}
+ record {
# At least one attribute in this block is (or was) sensitive,
# so its contents will not be displayed.
}
}
# module.dx_website.azurerm_static_web_app.this will be updated in-place
~ resource "azurerm_static_web_app" "this" {
id = "/subscriptions/02a23258-2e41-433c-8e9a-465b99e77bca/resourceGroups/dx-p-itn-common-rg-01/providers/Microsoft.Web/staticSites/dx-p-itn-website-stapp-01"
name = "dx-p-itn-website-stapp-01"
- repository_branch = "main" -> null
- repository_url = "https://github.com/pagopa/dx" -> null
~ sku_tier = "Standard" -> "Free"
tags = {
"CostCenter" = "TS000 - Tecnologia e Servizi"
"CreatedBy" = "Terraform"
"Environment" = "Prod"
"ManagementTeam" = "Developer Experience"
"Owner" = "DevEx"
"Source" = "https://github.com/pagopa/dx/blob/main/infra/resources/prod"
}
# (10 unchanged attributes hidden)
}
Plan: 0 to add, 2 to change, 0 to destroy. |
📖 Terraform Plan (infra/resources//dev) - failureShow PlanTerraform plan execution failed. Check the workflow logs for full details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. but CI doesnt pass
In local modules, providers versions are inherited from the root module. Displaying them in the READMEs is causing issues in static analysis due to inconsistent results.