We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef6a542 commit 1d715a2Copy full SHA for 1d715a2
terraform/account-wide-infrastructure/dev/aws-backups.tf
@@ -150,7 +150,7 @@ module "source" {
150
151
backup_plan_config = {
152
"compliance_resource_types" : [
153
- "S3", "DynamoDB"
+ "S3"
154
],
155
"rules" : [
156
{
@@ -166,4 +166,24 @@ module "source" {
166
167
"selection_tag" : "NHSE-Enable-Backup"
168
}
169
+
170
+ backup_plan_config_dynamodb = {
171
+ "compliance_resource_types" : [
172
+ "DynamoDB"
173
+ ],
174
+ "enable" : true,
175
+ "rules" : [
176
+ {
177
+ "copy_action" : {
178
+ "delete_after" : 4
179
+ },
180
+ "lifecycle" : {
181
+ "delete_after" : 2
182
183
+ "name" : "daily_kept_for_2_days",
184
+ "schedule" : "cron(0 0 * * ? *)"
185
+ }
186
187
+ "selection_tag" : "NHSE-Enable-Backup"
188
189
0 commit comments