Skip to content

Commit 4e6055f

Browse files
committed
feature/PI-407-immutable_backups Add restore testing plan resource
1 parent 668fd8f commit 4e6055f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

infrastructure/terraform/modules/aws-backup-source/backup_restore_testing.tf

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# resource "awscc_backup_restore_testing_plan" "backup_restore_testing_plan" {
2-
# restore_testing_plan_name = "backup_restore_testing_plan"
3-
# schedule_expression = var.restore_testing_plan_scheduled_expression
4-
# start_window_hours = var.restore_testing_plan_start_window
5-
# recovery_point_selection = {
6-
# algorithm = var.restore_testing_plan_algorithm
7-
# include_vaults = [aws_backup_vault.main.arn]
8-
# recovery_point_types = var.restore_testing_plan_recovery_point_types
9-
# selection_window_days = var.restore_testing_plan_selection_window_days
10-
# }
11-
# }
1+
resource "awscc_backup_restore_testing_plan" "backup_restore_testing_plan" {
2+
restore_testing_plan_name = "backup_restore_testing_plan"
3+
schedule_expression = var.restore_testing_plan_scheduled_expression
4+
start_window_hours = var.restore_testing_plan_start_window
5+
recovery_point_selection = {
6+
algorithm = var.restore_testing_plan_algorithm
7+
include_vaults = [aws_backup_vault.main.arn]
8+
recovery_point_types = var.restore_testing_plan_recovery_point_types
9+
selection_window_days = var.restore_testing_plan_selection_window_days
10+
}
11+
}
1212

1313
# resource "awscc_backup_restore_testing_selection" "backup_restore_testing_selection_dynamodb" {
1414
# count = var.backup_plan_config_dynamodb.enable ? 1 : 0

0 commit comments

Comments
 (0)