Fixes
This release fixes the known upgrade issues in v0.22.0.
os_disk.delete_option(DeleteorDetach) restores the OS disk retention choice that the AzureRM provider'sdelete_os_disk_on_deletion = falsegave you (#445). If you relied on that setting, setos_disk.delete_option = "Detach"before upgrading.- Upgrading from v0.21.0 no longer replaces VMs that have no zone, are in an availability set, or set
secure_boot_enabled = falseor only one UEFI flag. - Upgrading from v0.22.0 doesn't replace VMs.
Changing availability_set_resource_id, secure_boot_enabled or vtpm_enabled on an existing VM no longer recreates it.
Upgrading from v0.21.0 is still a breaking change. See the v0.22.0 release notes and the README upgrade sections.
Known issues
- Role assignments that use a lowercase role name, such as
reader, or a tenant-level role definition ID are replaced when upgrading from v0.21.0. A fix is in progress. - A failing run-command script no longer fails the apply, because the module doesn't send
treatFailureAsDeploymentFailure.
What's Changed
Bug Fixes
- fix: add os_disk.delete_option so upgrades can keep the OS disk by @thomascoats in #447
Other Changes
- fix: stop upgrades from v0.22.0 replacing every VM by @thomascoats in #450
Full Changelog: v0.22.0...v0.22.1