{"id":20757633,"url":"https://github.com/dodevops/terraform-azure-velero","last_synced_at":"2025-12-24T22:25:23.306Z","repository":{"id":39861239,"uuid":"416226237","full_name":"dodevops/terraform-azure-velero","owner":"dodevops","description":"Highly opinionated management of Kubernetes backup with velero on AKS (Azure Kubernetes Service)","archived":false,"fork":false,"pushed_at":"2023-11-20T09:25:32.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-18T04:43:50.686Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dodevops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-12T07:17:34.000Z","updated_at":"2022-12-10T01:37:15.000Z","dependencies_parsed_at":"2024-11-17T09:43:40.681Z","dependency_job_id":"ce11a861-374f-4497-82ef-31df4f6c8ca4","html_url":"https://github.com/dodevops/terraform-azure-velero","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodevops%2Fterraform-azure-velero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodevops%2Fterraform-azure-velero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodevops%2Fterraform-azure-velero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodevops%2Fterraform-azure-velero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dodevops","download_url":"https://codeload.github.com/dodevops/terraform-azure-velero/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243067050,"owners_count":20230860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T09:43:27.457Z","updated_at":"2025-12-24T22:25:23.268Z","avatar_url":"https://github.com/dodevops.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform management of velero backup on AKS\n\n## Introduction\n\nThis module manages velero backup on AKS (Azure Kubernetes Service)\n\n## Usage\n\nInstantiate the module by calling it from Terraform like this:\n\n```hcl\nmodule \"azure-velero\" {\n  source  = \"dodevops/velero/azure\"\n  version = \"\u003cversion\u003e\"\n}\n```\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\nThe following requirements are needed by this module:\n\n- terraform (\u003e=1.3.9)\n\n- azurerm (\u003e=3.81.0)\n\n- helm (\u003e=2.4.1)\n\n- kubernetes (\u003e=2.8.0)\n\n## Providers\n\nThe following providers are used by this module:\n\n- azurerm (\u003e=3.81.0)\n\n- helm (\u003e=2.4.1)\n\n- kubernetes (\u003e=2.8.0)\n\n## Modules\n\nNo modules.\n\n## Resources\n\nThe following resources are used by this module:\n\n- [azurerm_role_assignment.storage-blob-data-contributor](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/role_assignment) (resource)\n- [azurerm_storage_account.storaccbackup](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_account) (resource)\n- [azurerm_storage_container.storcontbackup](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_container) (resource)\n- [helm_release.velero](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) (resource)\n- [kubernetes_namespace.velero](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/namespace) (resource)\n\n## Required Inputs\n\nThe following input variables are required:\n\n### backup\\_sp\\_id\n\nDescription: Service principal ID used for backup\n\nType: `string`\n\n### backup\\_sp\\_secret\n\nDescription: Secret of the backup service principal\n\nType: `string`\n\n### backup\\_tenant\\_id\n\nDescription: Tenant ID of the backup application\n\nType: `string`\n\n### location\n\nDescription: Azure location to use for the backup\n\nType: `string`\n\n### project\n\nDescription: Three letter project key\n\nType: `string`\n\n### resource\\_group\n\nDescription: Azure Resource Group to use\n\nType: `string`\n\n### stage\n\nDescription: Stage for this ip\n\nType: `string`\n\n### subscription\\_id\n\nDescription: The Subscription ID to use\n\nType: `string`\n\n## Optional Inputs\n\nThe following input variables are optional (have default values):\n\n### azure\\_velero\\_plugin\\_version\n\nDescription: Version of the azure velero plugin to use\n\nType: `string`\n\nDefault: `\"v1.8.1\"`\n\n### backup\\_sp\\_objectid\n\nDescription: Service principal object ID used for backup. In case an application is used, the service principal object id of the  \napp is required as shown in the Enterprise Applications blade.\"\n\nType: `string`\n\nDefault: `\"\"`\n\n### create\\_role\\_assignment\n\nDescription:     Create a storage-blob-data-contributor role assignment\n    (required with this error https://medium.com/datadigest/resolving-an-authorizationpermissionmismatch-from-the-azure-file-copy-task-v4-in-azure-pipelines-654536fe3af5)  \n    If a app is used as the backup sp, also provide the app object id.\n\nType: `bool`\n\nDefault: `false`\n\n### exclude\\_namespaces\n\nDescription: A list of namespaces to exclude from velero backup\n\nType: `list(string)`\n\nDefault:\n\n```json\n[\n  \"velero\",\n  \"kube-system\",\n  \"kube-public\",\n  \"kube-node-lease\"\n]\n```\n\n### include\\_namespaces\n\nDescription: A list of namespaces to include in velero backup\n\nType: `list(string)`\n\nDefault:\n\n```json\n[\n  \"*\"\n]\n```\n\n### kubernetes\\_resource\\_group\n\nDescription: Resource group of the Kubernetes resources to use (defaults to resource\\_group)\n\nType: `string`\n\nDefault: `\"\"`\n\n### schedule\n\nDescription: Schedule for the cronjob\n\nType: `string`\n\nDefault: `\"0 0 * * *\"`\n\n### snapshots\\_enabled\n\nDescription: Enable Velero snapshots\n\nType: `bool`\n\nDefault: `true`\n\n### ttl\n\nDescription: Time to live for the backup in form of \u003cx\u003eh\u003cx\u003em\u003cx\u003es (example for 14 days: 336h0m0s)\n\nType: `string`\n\nDefault: `\"336h0m0s\"`\n\n### velero\\_version\n\nDescription: Velero Helm Chart version to use\n\nType: `string`\n\nDefault: `\"5.1.4\"`\n\n## Outputs\n\nThe following outputs are exported:\n\n### storage\\_account\\_name\n\nDescription: The name of the created backup storage account\n\n### storage\\_container\\_name\n\nDescription: The name of the created backup storage container\n\u003c!-- END_TF_DOCS --\u003e\n\n## Development\n\nUse [the terraform module tools](https://github.com/dodevops/terraform-module-tools) to check and generate the documentation by running\n\n    docker run -v \"$PWD\":/terraform ghcr.io/dodevops/terraform-module-tools:latest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodevops%2Fterraform-azure-velero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdodevops%2Fterraform-azure-velero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodevops%2Fterraform-azure-velero/lists"}