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

chore(deps): update terraform providers and tflint plugins #576

Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 17, 2023

Mend Renovate logo banner

This PR contains the following updates:

Package Type Update Change
azuread (source) required_provider minor ~> 2.45.0 -> ~> 2.46.0
azurerm (source) required_provider minor ~> 3.80.0 -> ~> 3.81.0

Release Notes

hashicorp/terraform-provider-azuread (azuread)

v2.46.0

Compare Source

ENHANCEMENTS:

  • data.azuread_application - update the resource ID format to match the azuread_application resource (#​1255)
  • azuread_named_location - add validation for the ip_ranges property in the ip block (#​1254)
hashicorp/terraform-provider-azurerm (azurerm)

v3.81.0

Compare Source

ENHANCEMENTS:

  • dependencies: updating to v0.20231116.1162710 of github.com/hashicorp/go-azure-sdk (#​23922)
  • managedservices: updating to use the base layer from hashicorp/go-azure-sdk rather than Azure/go-autorest (#​23890)
  • network: updating to API Version 2023-06-01 (#​23875)
  • servicelinker: updating to use the base layer from hashicorp/go-azure-sdk rather than Azure/go-autorest (#​23890)
  • storage: refactoring usages of github.com/hashicorp/go-azure-sdk to use the base layer from hashicorp/go-azure-sdk rather than Azure/go-autorest (#​23890)
  • Data Source: azurerm_network_ddos_protection_plan: refactoring to use hashicorp/go-azure-sdk (#​23849)
  • azurerm_linux_function_app - add support for disabling Basic Auth for default Publishing Profile via new properties ftp_publish_basic_authentication_enabled and webdeploy_publish_basic_authentication_enabled (#​23900)
  • azurerm_linux_function_app_slot - add support for disabling Basic Auth for default Publishing Profile via new properties ftp_publish_basic_authentication_enabled and webdeploy_publish_basic_authentication_enabled (#​23900)
  • azurerm_linux_web_app - add support for disabling Basic Auth for default Publishing Profile via new properties ftp_publish_basic_authentication_enabled and webdeploy_publish_basic_authentication_enabled (#​23900)
  • azurerm_linux_web_app_slot - add support for disabling Basic Auth for default Publishing Profile via new properties ftp_publish_basic_authentication_enabled and webdeploy_publish_basic_authentication_enabled (#​23900)
  • azurerm_logic_app_integration_account_certificate - name now accepts underscores (#​23866)
  • azurerm_logic_app_integration_account_partner - business_identity.value now accepts underscores (#​23866)
  • azurerm_monitor_data_collection_rule - added support for WorkspaceTransforms as kind (#​23873)
  • azurerm_network_ddos_protection_plan: refactoring to use hashicorp/go-azure-sdk (#​23849)
  • azurerm_windows_function_app - add support for disabling Basic Auth for default Publishing Profile via new properties ftp_publish_basic_authentication_enabled and webdeploy_publish_basic_authentication_enabled (#​23900)
  • azurerm_windows_function_app_slot - add support for disabling Basic Auth for default Publishing Profile via new properties ftp_publish_basic_authentication_enabled and webdeploy_publish_basic_authentication_enabled (#​23900)
  • azurerm_windows_web_app - add support for disabling Basic Auth for default Publishing Profile via new properties ftp_publish_basic_authentication_enabled and webdeploy_publish_basic_authentication_enabled (#​23900)
  • azurerm_windows_web_app_slot - add support for disabling Basic Auth for default Publishing Profile via new properties ftp_publish_basic_authentication_enabled and webdeploy_publish_basic_authentication_enabled (#​23900)

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 17, 2023
Copy link

Terraform validation

Terraform format 🖌success

Terraform Validation 🤖success

TFLint 👓success

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

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.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.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.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:fcd8d081dbc44276f646578a3c8f4238823fcef8" -> "acrnoplanglobalwesteurope001.azurecr.io/noplan-api:1a287a5696d2cba740f2d9679fe4e924a321f463"
                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

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

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-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.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_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_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.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:1a287a5696d2cba740f2d9679fe4e924a321f463"
                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

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

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.production: Refresh complete after 0s [id=ThorstenSauter-NoPlan-production]
data.tfe_outputs.staging: Refresh complete after 0s [id=ThorstenSauter-NoPlan-staging]
data.azuread_application_published_app_ids.well_known: Refreshing...
data.azuread_domains.default_domain: Refreshing...
data.azuread_client_config.current: 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 1s [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]
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]
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.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 Nov 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (fcd8d08) 83.02% compared to head (2e37fe6) 83.02%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #576   +/-   ##
=======================================
  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 848671b into main Nov 17, 2023
9 checks passed
@ThorstenSauter ThorstenSauter deleted the renovate/terraform-providers-and-tflint-plugins branch November 17, 2023 01:34
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