demo_solution/modules/repo_terraform.azurerm.lock/variables.tf (18 lines of code) (raw):
variable "lock_name" {
type = string
description = "Specifies the name of the Management Lock. Changing this forces a new resource to be created"
}
variable "resource_id" {
type = string
description = "The id of the locked Resource"
}
variable "lock_level" {
type = string
description = "Specifies the Level to be used for this Lock. Changing this forces a new resource to be created"
default = "CanNotDelete"
}
variable "notes" {
type = string
description = "Specifies some notes about the lock. Maximum of 512 characters. Changing this forces a new resource to be created"
default = null
}