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.93.0 #632

Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 24, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
azurerm (source) required_provider minor ~> 3.92.0 -> ~> 3.93.0

Release Notes

hashicorp/terraform-provider-azurerm (azurerm)

v3.93.0

Compare Source

  • New Data Source: azurerm_express_route_circuit_peering (#​24971)
  • New Data Source: azurerm_storage_table_entities (#​24973)
  • New Resource: azurerm_dev_center_catalog (#​24833)
  • New Resource: azurerm_system_center_virtual_machine_manager_server (#​24278)

BUG FIXES:

  • azurerm_key_vault - conditionally polling the Data Plane endpoint when public_network_access_enabled is set to false (#​23823)
  • azurerm_storage_account - allow the identity.type property to be SystemAssigned, UserAssigned when using a Customer Managed Key (#​24923)
  • azurerm_automation_account - prevent the identity.identity_ids User Assigned identity being set when not specified in config (#​24977)

ENHANCEMENTS:

  • dependencies: updating to v0.20240221.1170458 of hashicorp/go-azure-sdk (#​24967)
  • dependencies: refactor azurerm_spring_cloud_configuration_service to use go-azure-sdk (#​24918)
  • provider: support or the feature flag virtual_machine_scale_set.reimage_on_manual_upgrade (#​22975)
  • sentinel: updating to use the transport layer from hashicorp/go-azure-sdk rather than Azure/go-autorest (#​24962)
  • sqlvirtualmachines: updating to use the transport layer from hashicorp/go-azure-sdk rather than Azure/go-autorest (#​24912)
  • nginx : updating to use 2024-01-01-preview (#​24868)
  • azurerm_cosmosdb_account - support for the backup.tier property (#​24595)
  • azurerm_linux_virtual_machine - the virtual_machine_scale_set_id proeprty can now be changed without creating a new resource (#​24768)
  • azurerm_machine_learning_workspace - support for the managed_network.isolation_mode property (#​24951)
  • azurerm_private_dns_resolver_inbound_endpoint - support the static value for the private_ip_allocation_method property (#​24952)
  • azurerm_postgresql_flexible_server - expose the storage_tier field (#​24892)
  • azurerm_redis_cache - support for the preferred_data_persistence_auth_method property (#​24370)
  • azurerm_servicebus_namespace - support for the premium_messaging_partitions property (#​24676)
  • azurerm_windows_virtual_machine - the virtual_machine_scale_set_id proeprty can now be changed without creating a new resource (#​24768)

BUG FIXES:

  • azurerm_cognitive_deployment - the version_upgrade_option property can not be updated without creating a new resource (#​24922)
  • azurerm_data_protection_backup_vault - support or the soft_delete and retention_duration_in_days properties (#​24775)
  • azurerm_data_factory_pipeline - correctly handle incorrect header values (#​24921)
  • azurerm_kusto_cluster - optimized_auto_scale is now updated after sku has been updated (#​24906)
  • azurerm_key_vault_certificate - will now only update the lifetime_action of the certificate block unless otherwise required (#​24755)
  • azurerm_linux_virtual_machine_scale_set - correctly include public_ip_prefix_id during updates (#​24939)
  • azurerm_postgresql_flexible_server - the customer_managed_key.key_vault_key_id property is now required (#​24981)
  • azurerm_nginx_deployment - changing the sku property now creates a new resource (#​24905)
  • azurerm_orchestrated_virtual_machine_scale_set - the disk_size_gb and lun parameters of data_disks are optional now (#​24944)
  • azurerm_storage_account - change order of API calls to be GET-then-PUT ratehr then PATCHES (#​23935)
  • azurerm_storage_account - improve the validation around the immutability_policy being used with blob_properties (#​24938)
  • azurerm_security_center_setting - prevent a bug when name is SENTINEL (#​24497)
  • azurerm_windows_virtual_machine_scale_set - correctly include public_ip_prefix_id during updates (#​24939)

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 Feb 24, 2024
Copy link

Terraform validation

Terraform format 🖌success

Terraform Validation 🤖success

TFLint 👓success

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-B14JMN6fwFQUcwri

Waiting for the plan to start...

Terraform v1.7.4
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-prod-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-prod-westeurope-001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-noplan-prod-001]
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.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.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.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.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.containerapp_environment.azurerm_container_app_environment.container_environment: 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.25.0" -> "acrnoplanglobalwesteurope001.azurecr.io/noplan-api:8b16054b7f60bf3630be7ee7647340e42f7534fe"
                name              = "noplan-api"
                # (5 unchanged attributes hidden)

                # (11 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-GBxek9v2qtGvwRcG

Waiting for the plan to start...

Terraform v1.7.4
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.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.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.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:ba208b9a3540fa6445d9207de95049e4623faa1f" -> "acrnoplanglobalwesteurope001.azurecr.io/noplan-api:8b16054b7f60bf3630be7ee7647340e42f7534fe"
                name              = "noplan-api"
                # (5 unchanged attributes hidden)

                # (11 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

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-edUzs7SJQq6di5jw

Waiting for the plan to start...

Terraform v1.7.4
on linux_amd64
Initializing plugins and modules...
data.tfe_outputs.production: Refreshing...
data.tfe_outputs.staging: Refreshing...
data.azuread_client_config.current: Refreshing...
data.tfe_outputs.staging: Refresh complete after 0s [id=ThorstenSauter-NoPlan-staging]
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_domains.default_domain: Refreshing...
data.azuread_application_published_app_ids.well_known: Refresh complete after 0s [id=appIds]
data.tfe_outputs.production: Refresh complete after 0s [id=ThorstenSauter-NoPlan-production]
azuread_service_principal.msgraph: Refreshing state... [id=cb86be44-f8dd-45b1-a3cd-70f5a88e8b96]
data.azuread_domains.default_domain: Refresh complete after 1s [id=domains#ffab38df-cddf-433f-859a-6cfa161a5ceb#pJDXTkkTMZbQy6pZZLtcWes0KQc=]
azuread_application.api: Refreshing state... [id=/applications/861509d7-ecf0-4dcf-a7bf-5cfc9732fbc7]
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: Refreshing...
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["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]
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]
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

codecov bot commented Feb 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.71%. Comparing base (ba208b9) to head (dbdc256).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #632   +/-   ##
=======================================
  Coverage   85.71%   85.71%           
=======================================
  Files          39       39           
  Lines         490      490           
  Branches       14       14           
=======================================
  Hits          420      420           
  Misses         67       67           
  Partials        3        3           

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

@ThorstenSauter ThorstenSauter merged commit 5a43349 into main Feb 24, 2024
10 checks passed
@ThorstenSauter ThorstenSauter deleted the renovate/terraform-providers-and-tflint-plugins branch February 24, 2024 08:55
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