Skip to content

Commit b394219

Browse files
Update plan name and retention (#76)
* Update plan name and retention * Increase max retention days
1 parent b288072 commit b394219

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/tags/locals.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ locals {
88
schedule_monthly = "cron(0 3 1 * ? *)"
99

1010
ca_default_plans = {
11-
"ca-prod" : {
11+
"ca-prod-important" : {
1212
require_plan_name_resource_tag = true
1313
use_logically_air_gapped_vault = true
1414
start_backup_window_minutes = 60
@@ -23,12 +23,12 @@ locals {
2323
{
2424
name = "weekly",
2525
schedule_expression = local.schedule_weekly
26-
delete_after_days = 8
26+
delete_after_days = 30
2727
},
2828
{
2929
name = "monthly",
3030
schedule_expression = local.schedule_monthly
31-
delete_after_days = 9
31+
delete_after_days = 90
3232
}
3333
]
3434
}

examples/tags/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module "aws_backup" {
99
"ca-prod" = {
1010
backup_targets = [module.ou_data_lookup.by_name_path["Workloads / Serverless / CA / RSA CA"].id]
1111
min_retention_days = 7
12-
max_retention_days = 12
12+
max_retention_days = 90
1313
allow_backup_targets_to_restore = true
1414
backup_tag_key = "BackupPolicy"
1515
plans = local.ca_default_plans

0 commit comments

Comments
 (0)