hmcts / dtsse-shared-infrastructure

0 stars 0 forks source link

Update Terraform azurerm to ~> 3.98.0 #125

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 5 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
azurerm (source) required_provider minor ~> 3.97.0 -> ~> 3.98.0

Release Notes

hashicorp/terraform-provider-azurerm (azurerm) ### [`v3.98.0`](https://togithub.com/hashicorp/terraform-provider-azurerm/blob/HEAD/CHANGELOG.md#3980-April-04-2024) [Compare Source](https://togithub.com/hashicorp/terraform-provider-azurerm/compare/v3.97.1...v3.98.0) FEATURES: - New Resource: `azurerm_static_web_app_function_app_registration` ([#​25331](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25331)) - New Resource: `azurerm_system_center_virtual_machine_manager_inventory_items` ([#​25110](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25110)) - New Resource: `azurerm_workloads_sap_discovery_virtual_instance` ([#​24342](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/24342)) - New Resource: `azurerm_redis_cache_policy` ([#​25477](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25477)) - New Resource: `azurerm_redis_cache_policy_assignment` ([#​25477](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25477)) ENHANCEMENTS: - dependencies: updating to `v0.20240402.1085733` of `github.com/hashicorp/go-azure-sdk` ([#​25482](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25482)) - dependencies: updating to `v0.67.0` of `github.com/hashicorp/go-azure-helpers` ([#​25446](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25446)) - dependencies: updating to `v0.25.4` of `github.com/tombuildsstuff/giovanni` ([#​25404](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25404)) - `alertsmanagement` - updating remaining resources to use `hashicorp/go-azure-sdk` ([#​25486](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25486)) - `applicationinsights` - updating remaining resources to use `hashicorp/go-azure-sdk` ([#​25376](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25376)) - `compute` - update to API version `2024-03-01` ([#​25436](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25436)) - `compute` - update shared image resources and data sources to use `hashicorp/go-azure-sdk` ([#​25503](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25503)) - `containerinstance` - update to use the transport layer from `hashicorp/go-azure-sdk` rather than `Azure/go-autorest` ([#​25416](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25416)) - `maintenance` - updating to API Version `2023-04-01` ([#​25388](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25388)) - `recovery_services` - Add `recovery_service` block to the provider that supports `vm_backup_stop_protection_and_retain_data_on_destroy` and `purge_protected_items_from_vault_on_destroy`([#​25515](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25515)) - `storage` - the Storage Account cache is now populated using `hashicorp/go-azure-sdk` ([#​25437](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25437)) - `azurerm_bot_service_azure_bot` - support for the `cmk_key_vault_key_url` property ([#​23640](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/23640)) - `azurerm_capacity_reservation` - update validation for `capacity` ([#​25471](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25471)) - `azurerm_container_app` - add support for `key_vault_id` and `identity` properties in the `secret` block ([#​24773](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/24773)) - `azurerm_databricks_workspace` - expose `managed_services_cmk_key_vault_id` and `managed_disk_cmk_key_vault_id and key_vault_id` to support cross subscription CMK's. ([#​25091](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25091)) - `azurerm_databricks_workspace_root_dbfs_customer_managed_key` - expose `key_vault_id` to support cross subscription CMK's. ([#​25091](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25091)) - `azurerm_managed_hsm_role_*_ids` - use specific resource id to replace generic nested item id ([#​25323](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25323)) - `azurerm_mssql_database` - add support for `secondary_type` ([#​25360](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25360)) - `azurerm_monitor_scheduled_query_rules_alert_v2` - support for the `identity` block ([#​25365](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25365)) - `azurerm_mssql_server_extended_auditing_policy` - support for `audit_actions_and_groups` and `predicate_expression` ([#​25425](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25425)) - `azurerm_netapp_account` - can now be imported ([#​25384](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25384)) - `azurerm_netapp_volume` - support for the `kerberos_enabled`, `smb_continuous_availability_enabled`, `kerberos_5_read_only_enabled`, `kerberos_5_read_write_enabled`, `kerberos_5i_read_only_enabled`, `kerberos_5i_read_write_enabled`, `kerberos_5p_read_only_enabled`, and `kerberos_5p_read_write_enabled` properties ([#​25385](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25385)) - `azurerm_recovery_services_vault` - upgrading to version `2024-01-01` ([#​25325](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25325)) - `azurerm_stack_hci_cluster` - the `client_id` property is now optional ([#​25407](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25407)) - `azurerm_storage_encryption_scope` - refactoring to use `hashicorp/go-azure-sdk` rather than `Azure/azure-sdk-for-go` ([#​25437](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25437)) - `azurerm_mssql_elasticpool` - the `maintenance_configuration_name` property now supports values `SQL_SouthAfricaNorth_DB_1`, `SQL_SouthAfricaNorth_DB_2`, `SQL_WestUS3_DB_1` and `SQL_WestUS3_DB_2` ([#​25500](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25500)) - `azurerm_lighthouse_assignment` - updating API Version from `2019-06-01` to `2022-10-01` ([#​25473](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25473)) BUG FIXES: - `network` - updating the `GatewaySubnet` validation to show the Subnet Name when the validation fails ([#​25484](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25484)) - `azurerm_function_app_hybrid_connection` - fix an issue during creation when `send_key_name` is specified ([#​25379](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25379)) - `azurerm_linux_web_app_slot` - fix a crash when upgrading the provider to v3.88.0 or later ([#​25406](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25406)) - `azurerm_mssql_database` - update the behavior of the `enclave_type` field. ([#​25508](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25508)) - `azurerm_mssql_elasticpool` - update the behavior of the `enclave_type` field. ([#​25508](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25508)) - `azurerm_network_manager_deployment` - add locking ([#​25368](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25368)) - `azurerm_resource_group_template_deployment` - changes to `parameters_content` and `template_content` now force `output_content` to be updated in the plan ([#​25403](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25403)) - `azurerm_storage_blob` - fix a potential crash when the endpoint is unreachable ([#​25404](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25404)) - `azurerm_storage_container` - fix a potential crash when the endpoint is unreachable ([#​25404](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25404)) - `azurerm_storage_data_lake_gen2_filesystem` - fix a potential crash when the endpoint is unreachable ([#​25404](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25404)) - `azurerm_storage_data_lake_gen2_filesystem_path` - fix a potential crash when the endpoint is unreachable ([#​25404](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25404)) - `azurerm_storage_queue` - fix a potential crash when the endpoint is unreachable ([#​25404](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25404)) - `azurerm_storage_share` - fix a potential crash when the endpoint is unreachable ([#​25404](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25404)) - `azurerm_storage_share_directory` - fix a potential crash when the endpoint is unreachable ([#​25404](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25404)) - `azurerm_storage_share_directory` - resolve an issue where directories might fail to destroy ([#​25404](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25404)) - `azurerm_storage_share_file` - fix a potential crash when the endpoint is unreachable ([#​25404](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25404)) - `azurerm_storage_share_file` - fix several bugs with path handling when creating files in subdirectories ([#​25404](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25404)) - `azurerm_web_app_hybrid_connection` - fix an issue during creation when `send_key_name` is specified ([#​25379](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25379)) - `azurerm_windows_web_app` - prevent a panic during resource upgrade ([#​25509](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25509))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.



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

hmcts-jenkins-d-to-i[bot] commented 5 months ago

Plan Result (aat)

:warning: Resource Deletion will happen :warning:

This plan contains resource delete operation. Please check the plan result very carefully!

Plan: 2 to add, 1 to change, 2 to destroy.
Change Result (Click me) ```hcl # azurerm_consumption_budget_resource_group.grafana-budget-alert[0] will be created + resource "azurerm_consumption_budget_resource_group" "grafana-budget-alert" { + amount = 500 + etag = (known after apply) + id = (known after apply) + name = "grafana-budget-alert" + resource_group_id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/dtsse-aat" + time_grain = "Monthly" + filter { + dimension { + name = "ResourceId" + operator = "In" + values = [ + "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/dtsse-aat/providers/Microsoft.Dashboard/grafana/dtsse-grafana-aat", ] } } + notification { + contact_emails = [] + contact_groups = [ + "DTSSE Alert (aat)", ] + contact_roles = [] + enabled = true + operator = "GreaterThanOrEqualTo" + threshold = 90 + threshold_type = "Forecasted" } + time_period { + end_date = (known after apply) + start_date = "2023-09-01T00:00:00Z" } } # module.alert-action-group.azurerm_resource_group_template_deployment.action-group will be updated in-place ~ resource "azurerm_resource_group_template_deployment" "action-group" { id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/dtsse-aat/providers/Microsoft.Resources/deployments/DTSSE_Alert" name = "DTSSE_Alert" tags = {} ~ template_content = jsonencode( ~ { ~ parameters = { ~ actionGroupName = { ~ type = "String" -> "string" } ~ emailReceiverAddress = { ~ type = "String" -> "string" # (1 unchanged attribute hidden) } ~ emailReceiverName = { ~ type = "String" -> "string" # (1 unchanged attribute hidden) } ~ location = { ~ type = "String" -> "string" # (1 unchanged attribute hidden) } ~ shortName = { ~ type = "String" -> "string" } } # (3 unchanged attributes hidden) } ) # (4 unchanged attributes hidden) } # module.application_insights.azurerm_monitor_action_group.action_group will be destroyed # (because azurerm_monitor_action_group.action_group is not in configuration) - resource "azurerm_monitor_action_group" "action_group" { - enabled = true -> null - id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/dtsse-aat/providers/Microsoft.Insights/actionGroups/Dtsse-Aat-Warning-Alerts" -> null - location = "global" -> null - name = "Dtsse-Aat-Warning-Alerts" -> null - resource_group_name = "dtsse-aat" -> null - short_name = "dts-aat" -> null - tags = { - "application" = "core" - "autoShutdown" = "true" - "builtFrom" = "https://github.com/HMCTS/dtsse-shared-infrastructure.git" - "businessArea" = "CFT" - "contactSlackChannel" = "#reform-swe" - "environment" = "staging" - "managedBy" = "DTS Software Engineering" } -> null - azure_function_receiver { - function_app_resource_id = "/subscriptions/96c274ce-846d-4e48-89a7-d528432298a7/resourceGroups/cft-alerts-slack-aat/providers/Microsoft.Web/sites/cft-alerts-slack-aat" -> null - function_name = "httpTrigger" -> null - http_trigger_url = (sensitive value) -> null - name = "slack-alerts" -> null - use_common_alert_schema = true -> null } } # module.application_insights.azurerm_monitor_activity_log_alert.main must be replaced -/+ resource "azurerm_monitor_activity_log_alert" "main" { ~ id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/dtsse-aat/providers/Microsoft.Insights/activityLogAlerts/Application Insights daily cap reached" -> (known after apply) ~ name = "Application Insights daily cap reached" -> "Application Insights daily cap reached - dtsse-appinsights-aat" # forces replacement tags = { "application" = "core" "autoShutdown" = "true" "builtFrom" = "https://github.com/HMCTS/dtsse-shared-infrastructure.git" "businessArea" = "CFT" "contactSlackChannel" = "#reform-swe" "environment" = "staging" "managedBy" = "DTS Software Engineering" } # (4 unchanged attributes hidden) ~ action { ~ action_group_id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/dtsse-aat/providers/Microsoft.Insights/actionGroups/Dtsse-Aat-Warning-Alerts" -> "/subscriptions/1baf5470-1c3e-40d3-a6f7-74bfbce4b348/resourceGroups/cft-alerts-slack-ptl/providers/Microsoft.Insights/actionGroups/cft-alerts-slack-warning-alerts" # (1 unchanged attribute hidden) } ~ criteria { - levels = [] -> null - resource_groups = [] -> null - resource_ids = [] -> null - resource_providers = [] -> null - resource_types = [] -> null - statuses = [] -> null - sub_statuses = [] -> null # (4 unchanged attributes hidden) } } Plan: 2 to add, 1 to change, 2 to destroy. ```
:information_source: Objects have changed outside of Terraform _This feature was introduced from [Terraform v0.15.4](https://github.com/hashicorp/terraform/releases/tag/v0.15.4)._ ```hcl Terraform detected the following changes made outside of Terraform since the last "terraform apply" which may have affected this plan: # module.application_insights.azurerm_application_insights.this has changed ~ resource "azurerm_application_insights" "this" { ~ app_id = "565a0d8a-c01a-466d-a193-f92458b6c634" -> "dtsse-appinsights-aat" id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/dtsse-aat/providers/Microsoft.Insights/components/dtsse-appinsights-aat" name = "dtsse-appinsights-aat" tags = { "application" = "core" "autoShutdown" = "true" "builtFrom" = "https://github.com/HMCTS/dtsse-shared-infrastructure.git" "businessArea" = "CFT" "contactSlackChannel" = "#reform-swe" "environment" = "staging" "managedBy" = "DTS Software Engineering" } # (15 unchanged attributes hidden) } Unless you have made equivalent changes to your configuration, or ignored the ```