Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- resource "azurerm_resource_group" "main" {
- name = "cardinal-rg"
- location = "centralus"
- }
- resource "azurerm_management_lock" "resource-group-level" {
- name = "resource-group-level"
- scope = "${azurerm_resource_group.main.id}"
- lock_level = "ReadOnly"
- notes = "This Resource Group is Read-Only"
- }
Add Comment
Please, Sign In to add comment