From b3d10186f2a963daed0254e7397dc6128b0399aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez?= Date: Tue, 26 Nov 2024 17:20:58 +0100 Subject: [PATCH] feat(data_protection): add retention_duration and keyvault configuration for backup vault example --- .../configuration.tfvars | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/examples/data_protection/101-backup-vault-disk/configuration.tfvars b/examples/data_protection/101-backup-vault-disk/configuration.tfvars index bd6d3d3372..56f4992da2 100644 --- a/examples/data_protection/101-backup-vault-disk/configuration.tfvars +++ b/examples/data_protection/101-backup-vault-disk/configuration.tfvars @@ -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" @@ -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"