|
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 | +# } |
12 | 12 |
|
13 | | -resource "awscc_backup_restore_testing_selection" "backup_restore_testing_selection_dynamodb" { |
14 | | - count = var.backup_plan_config_dynamodb.enable ? 1 : 0 |
15 | | - iam_role_arn = aws_iam_role.backup.arn |
16 | | - protected_resource_type = "DynamoDB" |
17 | | - restore_testing_plan_name = awscc_backup_restore_testing_plan.backup_restore_testing_plan.restore_testing_plan_name |
18 | | - restore_testing_selection_name = "backup_restore_testing_selection_dynamodb" |
19 | | - protected_resource_arns = ["*"] |
20 | | - protected_resource_conditions = { |
21 | | - string_equals = [{ |
22 | | - key = "aws:ResourceTag/${var.backup_plan_config_dynamodb.selection_tag}" |
23 | | - value = "True" |
24 | | - }] |
25 | | - } |
26 | | -} |
| 13 | +# resource "awscc_backup_restore_testing_selection" "backup_restore_testing_selection_dynamodb" { |
| 14 | +# count = var.backup_plan_config_dynamodb.enable ? 1 : 0 |
| 15 | +# iam_role_arn = aws_iam_role.backup.arn |
| 16 | +# protected_resource_type = "DynamoDB" |
| 17 | +# restore_testing_plan_name = awscc_backup_restore_testing_plan.backup_restore_testing_plan.restore_testing_plan_name |
| 18 | +# restore_testing_selection_name = "backup_restore_testing_selection_dynamodb" |
| 19 | +# protected_resource_conditions = { |
| 20 | +# string_equals = [{ |
| 21 | +# key = "aws:ResourceTag/${var.backup_plan_config_dynamodb.selection_tag}" |
| 22 | +# value = "True" |
| 23 | +# }] |
| 24 | +# } |
| 25 | +# } |
0 commit comments