Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
set purge protection as false by default - Nate
Browse files Browse the repository at this point in the history
  • Loading branch information
nate committed Jun 30, 2021
1 parent dcdde32 commit 78b2bea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ resource "azurerm_key_vault" "TerraKeyVault" {
sku_name = var.SkuName
tenant_id = var.TenantID
soft_delete_retention_days = var.SoftDeleteRetention
purge_protection_enabled = var.purgeProtectionEnabled

########################
#Others Keyvault param
Expand Down
4 changes: 4 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ variable "SoftDeleteRetention" {
default = 7
}

variable "purgeProtectionEnabled" {
default = false
}

variable "EnabledForDeployment" {
type = string
default = "true"
Expand Down

0 comments on commit 78b2bea

Please sign in to comment.