File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
terraform/account-wide-infrastructure/modules/backup-source Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ resource "aws_backup_plan" "default" {
2020 for_each = rule. value . copy_action
2121 content {
2222 lifecycle {
23- delete_after = copy_action. value . delete_after
24- cold_storage_after = copy_action. value . cold_storage_after
23+ delete_after = copy_action. value . delete_after
2524 }
2625 destination_vault_arn = var. backup_copy_vault_arn
2726 }
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ variable "backup_plan_config" {
7878 enable = bool
7979 selection_tag = string
8080 compliance_resource_types = list (string )
81- rules = optional ( list (object ({
81+ rules = list (object ({
8282 name = string
8383 schedule = string
8484 enable_continuous_backup = optional (bool )
@@ -90,7 +90,7 @@ variable "backup_plan_config" {
9090 delete_after = optional (number )
9191 cold_storage_after = optional (number )
9292 })))
93- })))
93+ }))
9494 })
9595}
9696variable "backup_plan_config_dynamodb" {
You can’t perform that action at this time.
0 commit comments