avm-res-dataprotection-backupvault

Azure/avm-res-dataprotection-backupvault/azurerm

Terraform Module HCL AZURERM ✓ Verified

Terraform Azure Verified Resource Module for Data Protection Backup Vault

Install
module "avm-res-dataprotection-backupvault" {
source = "Azure/avm-res-dataprotection-backupvault/azurerm"
version = "1.2.0"
}
⭐ Source on GitHub 📦 Registry page
README

Azure Verified Module for Azure Data Protection Backup Vault This module provides a generic way to create and manage an Azure Data Protection Backup Vault resource. To use this module in your Terraform configuration, you'll need to provide values for the required variables. Features - Deploys an Azure Data Protection Backup Vault with support for private endpoints, diagnostic settings, managed identities, resource locks, and role assignments. - Supports AVM telemetry and tagging. - Flexible configuration for private DNS zone group management. Example Usage Here is an example of how you can use this module in your Terraform configuration: ``terraform module "backup_vault" { source = "Azure/avm-res-dataprotection-backupvault/azurerm" name = "my-backupvault" location = azurerm_resource_group.

Inputs (26)
NameTypeDescriptionDefault
locationstringAzure region where the resource should be deployed. required
datastore_typestringSpecifies the type of the datastore. Changing this forces a new resource to be c required
namestringThe name of this resource. Must be between 5 and 50 characters long. required
redundancystringSpecifies the backup storage redundancy. Changing this forces a new resource to required
resource_group_namestringThe resource group where the resources will be deployed. required
timeout_createstringThe timeout duration for creating resources."30m"
role_assignmentsmap(object({ role_definiti A map of role assignments to create on resources. The map key is deliberately {}
timeout_deletestringThe timeout duration for deleting resources."30m"
timeout_readstringThe timeout duration for reading resources."5m"
timeout_updatestringThe timeout duration for updating resources."30m"
backup_policiesmap(object({ type = stringMap of backup policies to create. Each policy can be referenced by backup instan{}
customer_managed_keyobject({ key_vault_resourcCustomer-managed key configuration for encrypting the Backup Vault, following thnull
immutabilitystringImmutability state: Disabled, Locked, or Unlocked."Disabled"
managed_identitiesobject({ system_assigned Controls the Managed Identity configuration on this resource. The following prop{}
tagsmap(string)(Optional) Tags of the resource.null
resource_guard_enabledboolControls whether an Azure Data Protection Resource Guard is deployed to protect false
vault_critical_operation_exclusion_listlist(string)A list of the critical operations which are not protected by Resource Guard. By []
backup_instancesmap(object({ type Map of backup instances to create. Each instance references a backup policy via {}
cross_region_restore_enabledboolWhether to enable cross-region restore for the Backup Vault. Can only be enabledfalse
diagnostic_settingsmap(object({ name A map of diagnostic settings to create on the Key Vault. The map key is delibera{}
enable_telemetryboolThis variable controls whether or not telemetry is enabled for the module. For mtrue
lockobject({ kind = string Controls the Resource Lock configuration for this resource. The following propernull
wait_for_backup_instance_configure_durationstringAdditional wait after backup instance creation to allow protection status to lea"180s"
resource_guard_namestringThe name of the Resource Guard. If not specified, will use the backup vault namenull
retention_duration_in_daysnumberThe soft delete retention duration for this Backup Vault. Valid values are betwe14
Outputs (27)
postgresql_flexible_backup_instance_ids — Map of PostgreSQL Flexible backup instance IDs by instance key.
postgresql_flexible_backup_policy_ids — Map of PostgreSQL Flexible backup policy IDs by policy key.
adls_backup_instance_ids — Map of ADLS backup instance IDs by instance key.
backup_vault_name — The name of the Backup Vault.
blob_backup_policy_ids — Map of blob backup policy IDs by policy key.
disk_backup_instance_ids — Map of disk backup instance IDs by instance key.
identity_principal_id — The Principal ID for the Service Principal associated with the Identity of this Backup Vault.
lock_id — The resource ID of the management lock (if created)
postgresql_flexible_backup_policy_id — (DEPRECATED) The ID of the created PostgreSQL Flexible Server Backup Policy. Use backup_policy_ids i
resource_guard_id — The ID of the Resource Guard (if enabled)
backup_policy_ids — Map of backup policy IDs by policy key.
blob_backup_instance_id — (DEPRECATED) The ID of the Blob Backup Instance. Use backup_instance_ids instead.
resource_guard_name — The name of the Resource Guard (if enabled)
resource_id — The ID of the Backup Vault
vault_id — The resource ID of the Backup Vault
backup_vault_id — The ID of the Backup Vault.
customer_managed_key_id — The ID of the Customer Managed Key configuration (if enabled)
disk_backup_policy_ids — Map of disk backup policy IDs by policy key.
kubernetes_backup_policy_ids — Map of Kubernetes backup policy IDs by policy key.
postgresql_backup_instance_ids — Map of PostgreSQL backup instance IDs by instance key.
postgresql_backup_policy_ids — Map of PostgreSQL backup policy IDs by policy key.
adls_backup_policy_ids — Map of ADLS backup policy IDs by policy key.
backup_instance_ids — Map of backup instance IDs by instance key.
blob_backup_instance_ids — Map of blob backup instance IDs by instance key.
identity_tenant_id — The Tenant ID for the Service Principal associated with the Identity of this Backup Vault.
kubernetes_backup_instance_ids — Map of Kubernetes backup instance IDs by instance key.
postgresql_flexible_backup_instance_id — (DEPRECATED) The ID of the created PostgreSQL Flexible Server Backup Instance. Use backup_instance_i
Resources (5)
azapi_resourceazapi_update_resourcemodtm_telemetryrandom_uuidtime_sleep
Details
FrameworkTerraform Module
LanguageHCL
Version1.2.0
Cloud AZURERM
★ Stars3
Forks5
Total downloads25.8k
Inputs26
Outputs27
Resources5
Examples12
LicenseMIT
NamespaceAzure
Updated