Terraform Azure Provider v5.1.0 Enhances VM Encryption and Fixes Bugs
HashiCorp has released v5.1.0 of the Terraform Azure Provider, introducing enhancements that allow `encryption_at_host_enabled` for virtual machines and scale sets when using `DiskWithVMGuestState` security encryption. This version also updates several Azure API versions for VM scale sets and codesigning resources, improving compatibility and access to newer features. Additionally, it resolves various bugs across CDN Frontdoor, DevCenter, Event Hub, and Storage resources, addressing parsing issues and state migrations. These updates provide greater flexibility for managing VM security and enhance the overall stability and consistency for engineers using Terraform with Azure.
- →azurerm_linux_virtual_machine_scale_set - update to API version 2025-04-01
- →azurerm_orchestrated_virtual_machine_scale_set - update to API version 2025-04-01
- →azurerm_virtual_machine_scale_set - update to API version 2025-04-01
- →azurerm_virtual_machine_scale_set_extension - update to API version 2025-04-01
- →azurerm_windows_virtual_machine_scale_set - update to API version 2025-04-01
Enhancements (11) ›
- dependencies azurerm_linux_virtual_machine_scale_set - update to API version 2025-04-01
- dependencies azurerm_orchestrated_virtual_machine_scale_set - update to API version 2025-04-01
- dependencies azurerm_virtual_machine_scale_set - update to API version 2025-04-01
- dependencies azurerm_virtual_machine_scale_set_extension - update to API version 2025-04-01
- dependencies azurerm_windows_virtual_machine_scale_set - update to API version 2025-04-01
- dependencies codesigning - update to API version 2025-10-13
azurerm_linux_virtual_machine - encryption_at_host_enabled can now be set to true when os_disk.security_encryption_type is set to DiskWithVMGuestState
azurerm_linux_virtual_machine_scale_set - encryption_at_host_enabled can now be set to true when os_disk.security_encryption_type is set to DiskWithVMGuestState
- azurerm_managed_devops_pool - add support for the CreatorOnly value to azure_devops_organization.permission.kind property
azurerm_windows_virtual_machine - encryption_at_host_enabled can now be set to true when os_disk.security_encryption_type is set to DiskWithVMGuestState
azurerm_windows_virtual_machine_scale_set - encryption_at_host_enabled can now be set to true when os_disk.security_encryption_type is set to DiskWithVMGuestState
Fixes (8) ›
azurerm_cdn_frontdoor_batch_ruleset - parse rule.actions.route_configuration_override.origin_group.cdn_frontdoor_origin_group_id case-insensitively and normalize the resulting value to prevent diffs
- azurerm_cdn_frontdoor_route - parse cdn_frontdoor_origin_group_id case-insensitively and normalize the resulting value to prevent diffs
- azurerm_cdn_frontdoor_secret - fix an incorrect type assertion
- azurerm_dev_center_project - parse dev_center_id case-insensitively and normalize the resulting value to prevent diffs
- azurerm_eventhub - now prevents the status property from being set to SendDisabled on create
- azurerm_storage_container - add a state migration for the id field, fixing the upgrade path from 4.x to 5.x
- azurerm_storage_queue - extend state migration to handle a malformed resource_manager_id
- azurerm_storage_share - add a state migration for the id field, fixing the upgrade path from 4.x to 5.x
https://github.com/hashicorp/terraform-provider-azurerm/releases/tag/v5.1.0
Related releases
- Pre-upgrade Validation Checks for Azure Database for PostgreSQL Flexible Server Now GA Azure Updates ·
- Azure Generally Available: Live Resize for Shared Premium SSD v2 and Ultra Data Disks Azure Updates ·
- Azure AKS now offers generally available control plane metrics collection with Managed Prometheus Azure Updates ·
- Azure AI Foundry model DeepSeek-R1 1 has reached end of life endoflife.date ·
- Microsoft details AI FinOps strategies for optimizing agent costs on Foundry Microsoft Azure Blog ·
- Retirement: Containerized data connector agent for Microsoft Sentinel for SAP applications Azure Updates ·