hmcts / dtsse-shared-infrastructure

0 stars 0 forks source link

Update Terraform azurerm to ~> 3.99.0 #128

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 7 months ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

hashicorp/terraform-provider-azurerm (azurerm) ### [`v3.99.0`](https://togithub.com/hashicorp/terraform-provider-azurerm/blob/HEAD/CHANGELOG.md#3990-April-11-2024) [Compare Source](https://togithub.com/hashicorp/terraform-provider-azurerm/compare/v3.98.0...v3.99.0) BREAKING CHANGE: - `azurerm_linux_web_app` - `site_config.0.application_stack.0.java_version` must be specified with `java_server` and `java_server_version` ([#​25553](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25553)) ENHANCEMENTS: - dependencies: updating to `v0.20240411.1104331` of `github.com/hashicorp/go-azure-sdk/resourcemanager` and `github.com/hashicorp/go-azure-sdk/sdk` ([#​25546](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25546)) - dependencies: updating to `v0.26.1` of `github.com/tombuildsstuff/giovanni` ([#​25551](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25551)) - `azurerm_key_vault` - deprecate the `contact` property from v3.x provider and update properties to Computed & Optional ([#​25552](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25552)) - `azurerm_key_vault_certificate_contacts` - in v4.0 make the `contact` property optional to allow for deletion of contacts from the key vault ([#​25552](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25552)) - `azurerm_signalr_service` - support for setting the `sku` property to `Premium_P2` ([#​25578](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25578)) - `azurerm_snapshot` - support for the `network_access_policy` and `public_network_access_enabled` properties ([#​25421](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25421)) - `azurerm_storage_account` - extend the support level of `(blob|queue|share)_properties` for Storage kind ([#​25427](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25427)) - `azurerm_storage_blob` - support for the `encryption_scope` property ([#​25551](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25551)) - `azurerm_storage_container` - support for the `default_encryption_scope` and `encryption_scope_override_enabled` properties ([#​25551](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25551)) - `azurerm_storage_data_lake_gen2_filesystem` - support for the `default_encryption_scope` property ([#​25551](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25551)) - `azurerm_subnet` - the `delegation.x.service_delegation.x.name` property now supports `Oracle.Database/networkAttachments` ([#​25571](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25571)) - `azurerm_web_pubsub` - support setting the `sku` property to `Premium_P2` ([#​25578](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25578)) BUG FIXES: - provider: fix an issue where the provider was not correctly configured when using a custom metadata host ([#​25546](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25546)) - storage: fix a number of potential crashes during plan/apply with resources using the Storage data plane API ([#​25525](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25525)) - `azurerm_application_insights` - fix issue where the wrong Application ID was set into the property `app_id` ([#​25520](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25520)) - `azurerm_application_insights_api_key` - add a state migration to re-case static segments of the resource ID ([#​25567](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25567)) - `azurerm_container_app_environment_certificate` - the `subject_name` attribute is now correctly populated ([#​25516](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25516)) - `azurerm_function_app_slot` - will now taint the resource when partially created ([#​24520](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/24520)) - `azurerm_linux_function_app` - will now taint the resource when partially created ([#​24520](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/24520)) - `azurerm_managed_disk` - filtering the Resource SKUs response to reduce the memory overhead, when determining whether a Managed Disk can be online resized or not ([#​25549](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25549)) - `azurerm_monitor_alert_prometheus_rule_group` - the `severity` property is now set correctly when `0` ([#​25408](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25408)) - `azurerm_monitor_smart_detector_alert_rule` - normalising the value for `id` within the `action_group` block ([#​25559](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25559)) - `azurerm_redis_cache_access_policy_assignment` - the `object_id_alias` property now allows usernames ([#​25523](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25523)) - `azurerm_windows_function_app` - will not taint the resource when partially created ([#​24520](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/24520)) - `azurerm_windows_function_app` - will not taint the resource when partially created ([#​24520](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/24520)) DEPRECATIONS: - `azurerm_cosmosdb_account` - the `connection_strings` property has been superseded by the primary and secondary connection strings for sql, mongodb and readonly ([#​25510](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25510)) - `azurerm_cosmosdb_account` - the `enable_free_tier` property has been superseded by `free_tier_enabled` ([#​25510](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25510)) - `azurerm_cosmosdb_account` - the `enable_multiple_write_locations` property has been superseded by `multiple_write_locations_enabled` ([#​25510](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25510)) - `azurerm_cosmosdb_account` - the `enable_automatic_failover` property has been superseded by `automatic_failover_enabled` ([#​25510](https://togithub.com/hashicorp/terraform-provider-azurerm/issues/25510))

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 7 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) } ) # (6 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 # (13 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 = "dtsse-appinsights-aat" -> "565a0d8a-c01a-466d-a193-f92458b6c634" 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 ```