velero
framled/velero/cloud
Terraform module that deploy cloud-platform velero which manages the backup and restore of all resources of the cluster
Terraform Cloud Velero Terraform module that deploy cloud-platform velero which manages the backup and restore of all resources of the cluster Usage The following example will create a storage account and all the necessaries resources `` module velero { source = "github.com/framled/terraform-cloud-velero" service_principal_credentials = { client_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" client_secret = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" tenant_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" subscription_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } resource_group_name = var.resource_group_name k8s_cluster = { cluster_name = "mycluster" resource_group = "clusterResourceGroup" } } ` If you want to use a existed storage, you have to setup the storage_account_name, for example: ` module vele
| Name | Type | Description | Default |
|---|---|---|---|
| service_principal_credentials | object({ client_id = strin | required | |
| resource_group_name | string | required | |
| k8s_cluster | object({ cluster_name = st | required | |
| storage | object({ account_name = st | Will create a storage account and a container for backup your k8s cluster, if yo | {
"access_tier": "Hot",
"account_kin |
| application_id | string | Optional, this will use your service principal attached to this application id, | "" |
| storage_account_name | string | Optional, will use your storage account, if this is null will create a storage a | "" |
| container_name | string | Optional, only required if you setup storage_account_name. This is your existed | "" |
| tags | map(string) | {} | |
| backup_storage_name | string | "default" | |
| service_principal_password | string | Optional, this will use your service principal password, if this is null will cr | "" |
application_idservice_principal_passwordstorage_account_namestorage_container_name