Skip to content

Commit

Permalink
resource lock added in resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol Nagpal committed Feb 15, 2023
1 parent 94f38d9 commit b40c839
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _example/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ module "resource_group" {

#resource lock
resource_lock_enabled = true
lock_level = "CanNotDelete"
lock_level = "CanNotDelete"
}
6 changes: 3 additions & 3 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ variable "delete" {
}

variable "resource_lock_enabled" {
type = bool
default = false
type = bool
default = false
description = "enable or disable lock resource"
}

variable "lock_level" {
type = string
type = string
default = "CanNotDelete"
}

0 comments on commit b40c839

Please sign in to comment.