Skip to content

Commit

Permalink
added "prevent_deletion_if_contains_resources" setting
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymandin committed May 27, 2024
1 parent 06686cc commit 838070f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion examples/default/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ terraform {
}

provider "azurerm" {
features {}
features {
resource_group {
prevent_deletion_if_contains_resources = false
}
}
}


6 changes: 5 additions & 1 deletion examples/encrypted-disk/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ terraform {
}

provider "azurerm" {
features {}
features {
resource_group {
prevent_deletion_if_contains_resources = false
}
}
}


6 changes: 5 additions & 1 deletion examples/private-endpoint/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ terraform {
}

provider "azurerm" {
features {}
features {
resource_group {
prevent_deletion_if_contains_resources = false
}
}
}


0 comments on commit 838070f

Please sign in to comment.