Skip to content

Commit

Permalink
add deletion fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
marrobi committed Feb 17, 2025
1 parent 5f8f953 commit db9c04e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ terraform {

provider "azurerm" {
features {
virtual_machine {
skip_shutdown_and_force_delete = true
delete_os_disk_on_deletion = true
}
key_vault {
# Don't purge on destroy (this would fail due to purge protection being enabled on keyvault)
purge_soft_delete_on_destroy = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ terraform {

provider "azurerm" {
features {
virtual_machine {
skip_shutdown_and_force_delete = true
delete_os_disk_on_deletion = true
}
key_vault {
# Don't purge on destroy (this would fail due to purge protection being enabled on keyvault)
purge_soft_delete_on_destroy = false
Expand Down

0 comments on commit db9c04e

Please sign in to comment.