Skip to main content
Version: 1.27.2

Azure Velero

This terraform module provides an easy way to generate Velero required cloud resources (Object Storage and Credentials) to backup Kubernetes objects and trigger volume snapshots.

Provider

This module is compatible with azurerm terraform provider version: 1.44.0

Inputs

NameDescriptionTypeDefaultRequired
aks_resource_group_nameResource group name of AKS cluster to backupstringn/ayes
azure_cloud_nameavailable azure_cloud_name values: AzurePublicCloud, AzureUSGovernmentCloud, AzureChinaCloud, AzureGermanCloudstring"AzurePublicCloud"no
backup_bucket_nameBackup Bucket Namestringn/ayes
velero_resource_group_nameResouce group in which to create velero resourcesstringn/ayes
tagsCustom tags to apply to resourcesmap(string){}no

Outputs

NameDescription
backup_storage_locationVelero Cloud BackupStorageLocation CRD
cloud_credentialsVelero required file with credentials
volume_snapshot_locationVelero Cloud VolumeSnapshotLocation CRD

Usage

module "velero" {
source = "../vendor/modules/azure-velero"
backup_bucket_name = "sighup-production-cluster-backup"
aks_resource_group_name = "XXX"
velero_resource_group_name = "XXX"
tags = {
"my-key": "my-value"
}
}