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 tiering policy for backup vm policy #2089

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Prev Previous commit
fixed duration type
kevindelmont authored Dec 30, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 110f3890c5c445127004619d308f0adebdb52af1
2 changes: 1 addition & 1 deletion modules/recovery_vault/backup_policies_vm.tf
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ resource "azurerm_backup_policy_vm" "vm" {
archived_restore_point {
mode = lookup(each.value.tiering_policy, "mode", null)
duration = try(each.value.tiering_policy.duration, null)
duration_type = try(each.value.tiering_policy.type, null)
duration_type = try(each.value.tiering_policy.duration_type, null)
}
}
}