Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added backup policy #22

Merged
merged 1 commit into from
Sep 1, 2024
Merged

added backup policy #22

merged 1 commit into from
Sep 1, 2024

Conversation

csamuele
Copy link
Collaborator

@csamuele csamuele commented Sep 1, 2024

added terraform backup policy

@csamuele csamuele requested a review from ArendPeter as a code owner September 1, 2024 22:02
Copy link

github-actions bot commented Sep 1, 2024

Terraform Plan Output

Click to expand
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.

Copy link
Member

@ArendPeter ArendPeter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link

github-actions bot commented Sep 1, 2024

Terraform Plan Output

Click to expand
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.

@evanstucker-hates-2fa evanstucker-hates-2fa merged commit ef2bd8d into main Sep 1, 2024
2 checks passed
@evanstucker-hates-2fa evanstucker-hates-2fa deleted the 21-backup branch September 1, 2024 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants