Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

chore(deps): update terraform azurerm to ~> 3.80.0 #569

Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 10, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
azurerm (source) required_provider minor ~> 3.79.0 -> ~> 3.80.0

Release Notes

hashicorp/terraform-provider-azurerm (azurerm)

v3.80.0

Compare Source

ENHANCEMENTS:

  • internal/sdk - Added support for pointer Types in resource models (#​23810)
  • dependencies: updating to v0.63.0 of github.com/hashicorp/go-azure-helpers (#​23785)
  • dependencies: updating to v0.20231106.1151347 of github.com/hashicorp/go-azure-sdk (#​23787)
  • azurerm_cognitive_deployment - support for the version_upgrade_option property (#​22520)
  • azurerm_firewall_policy_rule_collection_group - add support for the property http_headers (#​23641)
  • azurerm_kubernetes_cluster - fips_enabled can be updated in the default_node_pool without recreating the cluster (#​23612)
  • azurerm_kusto_cluster - the cluster name can now include dashes (#​23790)
  • azurerm_postgresql_database - update the validation of collation to include support for French_France.1252 (#​23783)

BUG FIXES:

  • Data Source: azurerm_data_protection_backup_vault - removing import support, since Data Sources don't support being imported (#​23820)
  • Data Source: azurerm_kusto_database - removing import support, since Data Sources don't support being imported (#​23820)
  • Data Source: azurerm_virtual_hub_route_table - removing import support, since Data Sources don't support being imported (#​23820)

Configuration

📅 Schedule: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added dependencies A change (usually an update) to dependencies terraform Pull requests that update Terraform code labels Nov 10, 2023
Copy link

Terraform validation

Terraform format 🖌success

Terraform Validation 🤖success

TFLint 👓success

Copy link

Global environment

Terraform Plan 📖success

Show Plan

terraform
Running plan in Terraform Cloud. Output will stream here. Pressing Ctrl-C
will stop streaming the logs, but will not stop the plan running remotely.

Preparing the remote plan...

The remote workspace is configured to work with configuration at
/infra/global relative to the target repository.

Terraform will upload the contents of the following directory,
excluding files or directories as defined by a .terraformignore file
at /home/runner/work/NoPlan/NoPlan/.terraformignore (if it is present),
in order to capture the filesystem context the remote workspace expects:
    /home/runner/work/NoPlan/NoPlan

To view this run in a browser, visit:
https://app.terraform.io/app/ThorstenSauter/NoPlan-global/runs/run-8EnGM9DX51q94P3M

Waiting for the plan to start...

Terraform v1.6.2
on linux_amd64
Initializing plugins and modules...
data.tfe_outputs.production: Refreshing...
data.tfe_outputs.staging: Refreshing...
data.tfe_outputs.staging: Refresh complete after 1s [id=ThorstenSauter-NoPlan-staging]
data.tfe_outputs.production: Refresh complete after 1s [id=ThorstenSauter-NoPlan-production]
data.azuread_client_config.current: Refreshing...
data.azuread_domains.default_domain: Refreshing...
data.azuread_application_published_app_ids.well_known: Refreshing...
data.azuread_client_config.current: Refresh complete after 0s [id=ffab38df-cddf-433f-859a-6cfa161a5ceb-3a95c4a8-66c5-4f0e-b450-e9ef3a54e71b-7fb485b6-1664-4e87-b54d-98d50892f25c]
data.azuread_application_published_app_ids.well_known: Refresh complete after 0s [id=appIds]
azuread_service_principal.msgraph: Refreshing state... [id=cb86be44-f8dd-45b1-a3cd-70f5a88e8b96]
data.azuread_domains.default_domain: Refresh complete after 0s [id=domains#ffab38df-cddf-433f-859a-6cfa161a5ceb#pJDXTkkTMZbQy6pZZLtcWes0KQc=]
azuread_application.api: Refreshing state... [id=/applications/861509d7-ecf0-4dcf-a7bf-5cfc9732fbc7]
data.azurerm_client_config.current: Refreshing...
module.resource_group.azurerm_resource_group.rg: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-global-westeurope-001]
data.azurerm_client_config.current: Refresh complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD0zYTk1YzRhOC02NmM1LTRmMGUtYjQ1MC1lOWVmM2E1NGU3MWI7b2JqZWN0SWQ9N2ZiNDg1YjYtMTY2NC00ZTg3LWI1NGQtOThkNTA4OTJmMjVjO3N1YnNjcmlwdGlvbklkPTE2ZTAxYTAwLWY4MjUtNGM5Ni04YWUyLWU2OGNiNTJjZjY1Mzt0ZW5hbnRJZD1mZmFiMzhkZi1jZGRmLTQzM2YtODU5YS02Y2ZhMTYxYTVjZWI=]
module.container_registry.azurerm_container_registry.acr: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-global-westeurope-001/providers/Microsoft.ContainerRegistry/registries/acrnoplanglobalwesteurope001]
module.container_registry.azurerm_role_assignment.acr_push_role["7fb485b6-1664-4e87-b54d-98d50892f25c"]: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-global-westeurope-001/providers/Microsoft.ContainerRegistry/registries/acrnoplanglobalwesteurope001/providers/Microsoft.Authorization/roleAssignments/0052aa30-2dc3-0c8c-2970-864bec956f21]
module.container_registry.azurerm_role_assignment.acr_pull_role["3ff26ad6-f746-4026-b798-87193992f13e"]: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-global-westeurope-001/providers/Microsoft.ContainerRegistry/registries/acrnoplanglobalwesteurope001/providers/Microsoft.Authorization/roleAssignments/c9673b98-42c6-d822-938b-c955948370d9]
module.container_registry.azurerm_role_assignment.acr_pull_role["6666fd6b-1458-46ff-8a2b-7e57f2b2cf7f"]: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-global-westeurope-001/providers/Microsoft.ContainerRegistry/registries/acrnoplanglobalwesteurope001/providers/Microsoft.Authorization/roleAssignments/23697a1b-5129-4566-58e7-b6bdb2470eec]
azuread_service_principal.api: Refreshing state... [id=aff582c0-5f84-4c09-9c4f-fbed72dadc59]
azuread_application.integration_testing: Refreshing state... [id=/applications/7dcfd984-3310-4587-bcd4-e39918c9fe85]
azuread_service_principal.integration_testing: Refreshing state... [id=d0d2dfcf-cc3e-477a-bf80-0c416fe8a42a]
azuread_service_principal.msgraph: Drift detected (update)

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

------------------------------------------------------------------------

Cost Estimation:

Resources: 0 of 9 estimated
           $0.0/mo +$0.0

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

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

Production environment

Terraform Plan 📖success

Show Plan

terraform
Running plan in Terraform Cloud. Output will stream here. Pressing Ctrl-C
will stop streaming the logs, but will not stop the plan running remotely.

Preparing the remote plan...

The remote workspace is configured to work with configuration at
/infra/production relative to the target repository.

Terraform will upload the contents of the following directory,
excluding files or directories as defined by a .terraformignore file
at /home/runner/work/NoPlan/NoPlan/.terraformignore (if it is present),
in order to capture the filesystem context the remote workspace expects:
    /home/runner/work/NoPlan/NoPlan

To view this run in a browser, visit:
https://app.terraform.io/app/ThorstenSauter/NoPlan-production/runs/run-qchfoSfFZFqUwc3d

Waiting for the plan to start...

Terraform v1.6.2
on linux_amd64
Initializing plugins and modules...
data.tfe_outputs.global: Refreshing...
data.tfe_outputs.global: Refresh complete after 1s [id=ThorstenSauter-NoPlan-global]
data.azurerm_client_config.current: Refreshing...
module.resource_group.azurerm_resource_group.rg: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-prod-westeurope-001]
data.azurerm_client_config.current: Refresh complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD0zYTk1YzRhOC02NmM1LTRmMGUtYjQ1MC1lOWVmM2E1NGU3MWI7b2JqZWN0SWQ9N2ZiNDg1YjYtMTY2NC00ZTg3LWI1NGQtOThkNTA4OTJmMjVjO3N1YnNjcmlwdGlvbklkPTE2ZTAxYTAwLWY4MjUtNGM5Ni04YWUyLWU2OGNiNTJjZjY1Mzt0ZW5hbnRJZD1mZmFiMzhkZi1jZGRmLTQzM2YtODU5YS02Y2ZhMTYxYTVjZWI=]
module.database.azurerm_mssql_server.database_server: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-prod-westeurope-001/providers/Microsoft.Sql/servers/sqlsrv-noplan-prod-001]
module.identity.azurerm_user_assigned_identity.uami: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-prod-westeurope-001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-noplan-prod-001]
module.containerapp_environment.azurerm_log_analytics_workspace.workspace: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-prod-westeurope-001/providers/Microsoft.OperationalInsights/workspaces/log-noplan-prod-001]
module.database.azurerm_mssql_firewall_rule.firewall_rule_allow_azure_services: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-prod-westeurope-001/providers/Microsoft.Sql/servers/sqlsrv-noplan-prod-001/firewallRules/FirewallRule1]
module.database.azurerm_mssql_database.database: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-prod-westeurope-001/providers/Microsoft.Sql/servers/sqlsrv-noplan-prod-001/databases/NoPlan]
module.containerapp_environment.azurerm_container_app_environment.container_environment: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-prod-westeurope-001/providers/Microsoft.App/managedEnvironments/acae-noplan-prod-001]
module.monitoring.azurerm_application_insights.appinsights: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-prod-westeurope-001/providers/Microsoft.Insights/components/appi-noplan-prod-001]
module.monitoring.azurerm_role_assignment.monitoring_metrics_publisher_role: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-prod-westeurope-001/providers/Microsoft.Insights/components/appi-noplan-prod-001/providers/Microsoft.Authorization/roleAssignments/192c8518-7ace-ae40-825f-f09662328483]
module.container_app.azurerm_container_app.container_app: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-prod-westeurope-001/providers/Microsoft.App/containerApps/aca-noplan-api-prod-001]
module.container_app.azurerm_container_app.container_app: Drift detected (update)

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.container_app.azurerm_container_app.container_app will be updated in-place
  ~ resource "azurerm_container_app" "container_app" {
        id                            = "/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-prod-westeurope-001/providers/Microsoft.App/containerApps/aca-noplan-api-prod-001"
        name                          = "aca-noplan-api-prod-001"
        tags                          = {
            "environment" = "Production"
            "managed-by"  = "Terraform"
            "project"     = "NoPlan"
        }
        # (8 unchanged attributes hidden)

      ~ template {
            # (2 unchanged attributes hidden)

          ~ container {
              ~ image             = "acrnoplanglobalwesteurope001.azurecr.io/noplan-api:2.21.0" -> "acrnoplanglobalwesteurope001.azurecr.io/noplan-api:ea8f696787820a7015377fa8f905d7bc9472173c"
                name              = "noplan-api"
                # (5 unchanged attributes hidden)

                # (10 unchanged blocks hidden)
            }
        }

        # (3 unchanged blocks hidden)
    }

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

------------------------------------------------------------------------

Cost Estimation:

Resources: 0 of 9 estimated
           $0.0/mo +$0.0

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

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

Staging environment

Terraform Plan 📖success

Show Plan

terraform
Running plan in Terraform Cloud. Output will stream here. Pressing Ctrl-C
will stop streaming the logs, but will not stop the plan running remotely.

Preparing the remote plan...

The remote workspace is configured to work with configuration at
/infra/staging relative to the target repository.

Terraform will upload the contents of the following directory,
excluding files or directories as defined by a .terraformignore file
at /home/runner/work/NoPlan/NoPlan/.terraformignore (if it is present),
in order to capture the filesystem context the remote workspace expects:
    /home/runner/work/NoPlan/NoPlan

To view this run in a browser, visit:
https://app.terraform.io/app/ThorstenSauter/NoPlan-staging/runs/run-hHTdcs8UTF5fEYmd

Waiting for the plan to start...

Terraform v1.6.2
on linux_amd64
Initializing plugins and modules...
data.tfe_outputs.global: Refreshing...
data.tfe_outputs.global: Refresh complete after 0s [id=ThorstenSauter-NoPlan-global]
data.azurerm_client_config.current: Refreshing...
module.resource_group.azurerm_resource_group.rg: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-stage-westeurope-001]
data.azurerm_client_config.current: Refresh complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD0zYTk1YzRhOC02NmM1LTRmMGUtYjQ1MC1lOWVmM2E1NGU3MWI7b2JqZWN0SWQ9N2ZiNDg1YjYtMTY2NC00ZTg3LWI1NGQtOThkNTA4OTJmMjVjO3N1YnNjcmlwdGlvbklkPTE2ZTAxYTAwLWY4MjUtNGM5Ni04YWUyLWU2OGNiNTJjZjY1Mzt0ZW5hbnRJZD1mZmFiMzhkZi1jZGRmLTQzM2YtODU5YS02Y2ZhMTYxYTVjZWI=]
module.identity.azurerm_user_assigned_identity.uami: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-stage-westeurope-001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-noplan-stage-001]
module.containerapp_environment.azurerm_log_analytics_workspace.workspace: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-stage-westeurope-001/providers/Microsoft.OperationalInsights/workspaces/log-noplan-stage-001]
module.database.azurerm_mssql_server.database_server: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-stage-westeurope-001/providers/Microsoft.Sql/servers/sqlsrv-noplan-stage-001]
module.containerapp_environment.azurerm_container_app_environment.container_environment: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-stage-westeurope-001/providers/Microsoft.App/managedEnvironments/acae-noplan-stage-001]
module.monitoring.azurerm_application_insights.appinsights: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-stage-westeurope-001/providers/Microsoft.Insights/components/appi-noplan-stage-001]
module.database.azurerm_mssql_firewall_rule.firewall_rule_allow_azure_services: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-stage-westeurope-001/providers/Microsoft.Sql/servers/sqlsrv-noplan-stage-001/firewallRules/FirewallRule1]
module.database.azurerm_mssql_database.database: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-stage-westeurope-001/providers/Microsoft.Sql/servers/sqlsrv-noplan-stage-001/databases/NoPlan]
module.monitoring.azurerm_role_assignment.monitoring_metrics_publisher_role: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-stage-westeurope-001/providers/Microsoft.Insights/components/appi-noplan-stage-001/providers/Microsoft.Authorization/roleAssignments/797a0398-efad-5a37-2a89-6ece07c8b721]
module.container_app.azurerm_container_app.container_app: Refreshing state... [id=/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-stage-westeurope-001/providers/Microsoft.App/containerApps/aca-noplan-api-stage-001]

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.container_app.azurerm_container_app.container_app will be updated in-place
  ~ resource "azurerm_container_app" "container_app" {
        id                            = "/subscriptions/16e01a00-f825-4c96-8ae2-e68cb52cf653/resourceGroups/rg-noplan-stage-westeurope-001/providers/Microsoft.App/containerApps/aca-noplan-api-stage-001"
        name                          = "aca-noplan-api-stage-001"
        tags                          = {
            "environment" = "Staging"
            "managed-by"  = "Terraform"
            "project"     = "NoPlan"
        }
        # (8 unchanged attributes hidden)

      ~ template {
            # (2 unchanged attributes hidden)

          ~ container {
              ~ image             = "acrnoplanglobalwesteurope001.azurecr.io/noplan-api:a9c17dda35c69277e395db5d79b745f7a3081c38" -> "acrnoplanglobalwesteurope001.azurecr.io/noplan-api:ea8f696787820a7015377fa8f905d7bc9472173c"
                name              = "noplan-api"
                # (5 unchanged attributes hidden)

                # (10 unchanged blocks hidden)
            }
        }

        # (3 unchanged blocks hidden)
    }

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

------------------------------------------------------------------------

Cost Estimation:

Resources: 0 of 9 estimated
           $0.0/mo +$0.0

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

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

codecov bot commented Nov 10, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a9c17dd) 83.02% compared to head (e46fc20) 83.02%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #569   +/-   ##
=======================================
  Coverage   83.02%   83.02%           
=======================================
  Files          40       40           
  Lines         548      548           
  Branches       23       23           
=======================================
  Hits          455      455           
  Misses         84       84           
  Partials        9        9           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ThorstenSauter ThorstenSauter merged commit acd009c into main Nov 10, 2023
10 checks passed
@ThorstenSauter ThorstenSauter deleted the renovate/terraform-providers-and-tflint-plugins branch November 10, 2023 07:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies A change (usually an update) to dependencies terraform Pull requests that update Terraform code
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant