Major Version: Version 4.0 of the Azure Provider is a major version - some behaviours have changed and some deprecated fields/resources have been removed - please refer to the 4.0 upgrade guide for more information.
When upgrading to v4.0 of the AzureRM Provider, we recommend upgrading to the latest version of Terraform Core (which can be found here).
ENHANCEMENTS:
Data Source: azurerm_shared_image - add support for the trusted_launch_supported, trusted_launch_enabled, confidential_vm_supported, confidential_vm_enabled, accelerated_network_support_enabled and hibernation_enabled properties (#26975)
dependencies: updating hashicorp/go-azure-sdk to v0.20240819.1075239 (#27107)
applicationgateways - updating to use 2023-11-01 (#26776)
containerregistry - updating to use 2023-06-01-preview (#23393)
containerservice - updating to 2024-05-01 (#27105)
mssql - updating to use hashicorp/go-azure-sdk and 023-08-01-preview (#27073)
mssqlmanagedinstance - updating to use hashicorp/go-azure-sdk and 2023-08-01-preview (#26872)
azurerm_image - add support for the disk_encryption_set_id property to the data_disk block (#27015)
azurerm_log_analytics_workspace_table - add support for more total_retention_in_days and retention_in_days values (#27053)
azurerm_mssql_elasticpool - add support for the HS_MOPRMS and MOPRMS skus (#27085)
azurerm_netapp_pool - allow 1 as a valid value for size_in_tb (#27095)
azurerm_notification_hub - add support for the browser_credential property (#27058)
azurerm_redis_cache - add support for the access_keys_authentication_enabled property (#27039)
azurerm_role_assignment - add support for the /, /providers/Microsoft.Capacity and /providers/Microsoft.BillingBenefits scopes (#26663)
azurerm_shared_image - add support for the hibernation_enabled property (#26975)
azurerm_storage_account - support queue_encryption_key_type and table_encryption_key_type for more storage account kinds (#27112)
azurerm_web_application_firewall_policy - add support for the request_body_enforcement property (#27094)
BUG FIXES:
azurerm_ip_group_cidr - fixed the position of the CIDR check to correctly refresh the resource when it's no longer present (#27103)
azurerm_monitor_diagnostic_setting - add further polling to work around an eventual consistency issue when creating the resource (#27088)
azurerm_storage_account - prevent API error by populating infrastructure_encryption_enabled when updating customer_managed_key (#26971)
azurerm_storage_blob_inventory_policy - the filter property can now be set when scope is container (#27113)
azurerm_virtual_network_dns_servers - moved locks to prevent the creation of subnets with stale data (#27036)
azurerm_virtual_network_gateway_connection - allow 0 as a valid value for ipsec_policy.sa_datasize (#27056)
New Resource: azurerm_communication_service_email_domain_association (#26432)
New Resource: azurerm_dev_center_project_environment_type (#26941)
New Resource: azurerm_extended_location_custom_location (#24267)
New Resource: azurerm_postgresql_flexible_server_virtual_endpoint (#26708)
ENHANCEMENTS:
notificationhub - updating to use version 2023-09-01 (#26528)
azurerm_api_management_api - update validation of path to allow single character strings (#26922)
azurerm_cosmosdb_account - add support for the property burst_capacity_enabled (#26986)
azurerm_linux_function_app - add support for vnet_image_pull_enabled property in 4.0 (#27001)
azurerm_linux_function_app_slot - add support for vnet_image_pull_enabled property in 4.0 (#27001)
azurerm_logic_app_standard - add support for v8.0 in site_config.dotnet_framework_version (#26983)
azurerm_management_group_policy_assignment - remove length restriction on name (#27055)
azurerm_recovery_services_vault - add support for the identity block (#26254)
azurerm_web_application_firewall_policy - add support for the js_challenge_cookie_expiration_in_minutes property (#26878)
azurerm_windows_function_app - add support for vnet_image_pull_enabled property in 4.0 (#27001)
azurerm_windows_function_app_slot - add support for vnet_image_pull_enabled property in 4.0 (#27001)
BUG FIXES:
Data Source: azurerm_storage_account - add default_share_level_permission to the azure_files_authentication to prevent invalid address errors (#26996)
Data Source: azurerm_search_service - expose the tags property (#26978)
Data Source: azurerm_virtual_machine - populate missing power_state (#26991)
Data Source: azurerm_virtual_machine_scale_set - populate missing power_state (#26991)
azurerm_api_management_api_schema - correctly unmarshal definition and components (#26531)
azurerm_cdn_frontdoor_secret - fix issue where expiration_date was being set into the parent block (#26982)
azurerm_container_app_environment - fix diff suppress on infrastructure_resource_group_name (#27007)
azurerm_express_route_connection - prevent sending private_link_fast_path_enabled in the payload if it hasn't been explicitly set (#26928)
azurerm_machine_learning_workspace - serverless_compute can now be updated (#26940)
azurerm_mssql_database - fix issue where the database cannot be upgraded to use serverless due to the behaviour of the license_type field (#26850)
azurerm_mssql_database - prevent error when creating Free edition by setting long_term_retention_policy and short_term_retention_policy as empty (#26894)
azurerm_nginx_deployment - omit capacity when creating deployments with a basic plan (#26223)
azurerm_role_management_policy - prevent panic when updating activation_rules.approval_stage (#26800)
azurerm_sentinel_threat_intelligence_indicator - prevent panic when importing this resource (#26976)
azurerm_servicebus_namespace - fix panic reading encryption with versionless ids (#27060)
azurerm_synapse_spark_pool - prevent plan diff due to API behaviour by setting node_count as Computed (#26953)
azurerm_virtual_network_gateway_connection - fix issue where ingress_nat_rule_ids was updating the egress rules on updates (#27022)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps hashicorp/azurerm from 3.115.0 to 4.0.0.
Release notes
Sourced from hashicorp/azurerm's releases.
... (truncated)
Changelog
Sourced from hashicorp/azurerm's changelog.
Commits
83622ed
v4.0.0e328199
Set FourPointOh to true (#27151)b64f8ab
Merge pull request #27152 from hashicorp/docs/rp-registrations-4.0ad3124f
docs: update docs and messaging for new resource provider registration proper...01950c3
azurerm_key_vault_managed_hardware_security_module_*
- add `removedInNextMa...cb76d50
provider_schema_test
- Commenting out certain checks until we can devote mo...f87bd53
remove immutable_backups_enabled from mssql docs (#27136)5e91f75
azurerm_storage_share_file
- Base64 to hex encoding before setting `content...af0806e
Improve azurerm_data_factory_linked_custom_service type doc (#27131)eae7aca
Registering Cilium preview feature is no longer needed (#27126)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show