We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b6b57e commit 1ecbba9Copy full SHA for 1ecbba9
terraform/common.tf
@@ -6,8 +6,8 @@ resource "azurerm_resource_group" "rg" {
6
}
7
8
resource "azurerm_management_lock" "rg_lock" {
9
- name = "Terraform Lock - ${random_id.lock.hex}"
+ name = "Terraform (CanNotDelete) - ${random_id.lock.hex}"
10
scope = azurerm_resource_group.rg.id
11
- lock_level = "ReadOnly"
12
- notes = "Lock managed by Terraform to prevent manual change or accidental deletion of the resource group or resources"
+ lock_level = "CanNotDelete"
+ notes = "CanNotDelete Lock managed by Terraform to prevent manual or accidental deletion of resource group and resources"
13
0 commit comments