Equal-Vote / terraform

3 stars 1 forks source link

added backup policy #22

Closed csamuele closed 2 months ago

csamuele commented 2 months ago

added terraform backup policy

github-actions[bot] commented 2 months ago

Terraform Plan Output

Click to expand ```terraform Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # azurerm_data_protection_backup_policy_disk.equalvote will be created + resource "azurerm_data_protection_backup_policy_disk" "equalvote" { + backup_repeating_time_intervals = [ + "R/2021-05-19T06:33:16+00:00/PT4H", ] + default_retention_duration = "P7D" + id = (known after apply) + name = "equalvote-backup-policy" + vault_id = (known after apply) + retention_rule { + duration = "P7D" + name = "Daily" + priority = 25 + criteria { + absolute_criteria = "FirstOfDay" } } + retention_rule { + duration = "P7D" + name = "Weekly" + priority = 20 + criteria { + absolute_criteria = "FirstOfWeek" } } } # azurerm_data_protection_backup_vault.equalvote will be created + resource "azurerm_data_protection_backup_vault" "equalvote" { + datastore_type = "VaultStore" + id = (known after apply) + location = "westus2" + name = "equalvote-backup-vault" + redundancy = "LocallyRedundant" + resource_group_name = "equalvote" + retention_duration_in_days = 14 + soft_delete = "On" } Plan: 2 to add, 0 to change, 0 to destroy. ```
github-actions[bot] commented 2 months ago

Terraform Plan Output

Click to expand ```terraform Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # azurerm_data_protection_backup_policy_disk.equalvote will be created + resource "azurerm_data_protection_backup_policy_disk" "equalvote" { + backup_repeating_time_intervals = [ + "R/2021-05-19T06:33:16+00:00/PT4H", ] + default_retention_duration = "P7D" + id = (known after apply) + name = "equalvote-backup-policy" + vault_id = (known after apply) + retention_rule { + duration = "P7D" + name = "Daily" + priority = 25 + criteria { + absolute_criteria = "FirstOfDay" } } + retention_rule { + duration = "P7D" + name = "Weekly" + priority = 20 + criteria { + absolute_criteria = "FirstOfWeek" } } } # azurerm_data_protection_backup_vault.equalvote will be created + resource "azurerm_data_protection_backup_vault" "equalvote" { + datastore_type = "VaultStore" + id = (known after apply) + location = "westus2" + name = "equalvote-backup-vault" + redundancy = "LocallyRedundant" + resource_group_name = "equalvote" + retention_duration_in_days = 14 + soft_delete = "On" } Plan: 2 to add, 0 to change, 0 to destroy. ```