Skip to content

Commit

Permalink
feat(data_protection): add retention_duration and keyvault configurat…
Browse files Browse the repository at this point in the history
…ion for backup vault example
  • Loading branch information
rfernandezdo committed Nov 26, 2024
1 parent 7052bdb commit b3d1018
Showing 1 changed file with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ backup_vault_policies = {
policy_name = "backup-policy-lvl0"
operational_default_retention_duration = "P7D" #Specific ISO 8601 format
backup_repeating_time_intervals = ["R/2022-04-20T00:00:00+00:00/PT4H"] # ISO 8601 repeating time interval
retention_duration = "P7D" #Specific ISO 8601 format
retention_rules = {
Daily = {
name = "Daily"
Expand Down Expand Up @@ -114,6 +115,31 @@ keyvaults = {
}
}

keyvault_keys = {
key1 = {
keyvault_key = "example_vm_rg1"
resource_group_key = "bv"
name = "disk-key"
key_type = "RSA"
key_size = "2048"
key_opts = ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"]
tags = {
encryption = "rsa-204"
new_tag = "yes" }
}
}

disk_encryption_sets = {
set1 = {
name = "deskey1"
resource_group_key = "bv"
key_vault_key_key = "key1"
keyvault = {
key = "example_vm_rg1"
}
}
}

vnets = {
vnet_region1 = {
resource_group_key = "bv"
Expand Down

0 comments on commit b3d1018

Please sign in to comment.