Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a backup container storage account
Browse files Browse the repository at this point in the history
sgibson91 committed Aug 15, 2024
1 parent ccb4d08 commit 3795865
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions terraform/azure/storage.tf
Original file line number Diff line number Diff line change
@@ -50,6 +50,12 @@ resource "azurerm_recovery_services_vault" "homedir_recovery_vault" {
sku = "Standard"
}

resource "azurerm_backup_container_storage_account" "protection_container" {
resource_group_name = azurerm_resource_group.jupyterhub.name
recovery_vault_name = azurerm_recovery_services_vault.homedir_recovery_vault.name
storage_account_id = azurerm_storage_account.homes.id
}

resource "azurerm_backup_policy_file_share" "backup_policy" {
name = "homedir-recovery-vault-policy"
resource_group_name = azurerm_resource_group.jupyterhub.name

0 comments on commit 3795865

Please sign in to comment.