1
0

feat: revamped aws-backup module

This commit is contained in:
xpk
2026-03-13 14:16:24 +08:00
parent 8108a95fd8
commit d4c778e201
3 changed files with 62 additions and 78 deletions
+6 -1
View File
@@ -1,4 +1,8 @@
<!-- This readme file is generated with terraform-docs -->
# aws-backup
Module to configure AWSBackup service opt in and manage backup settings for typical workloads
## Requirements
No requirements.
@@ -34,9 +38,10 @@ No modules.
| daily-backup-cron | Daily backup rule cron expression | `string` | n/a | yes |
| daily-backup-retention | Daily backup retention period | `number` | n/a | yes |
| enable-monthly-backup | Enable monthly backup plan | `bool` | `false` | no |
| enable-vss | Enable VSS for Windows Ec2 | `bool` | `false` | no |
| monthly-backup-cron | Monthly backup rule cron expression | `string` | `null` | no |
| monthly-backup-retention | Monthly backup retention period | `number` | `null` | no |
| service-opt-in | n/a | <pre>map(object({<br/> enabled = bool<br/> }))</pre> | <pre>{<br/> "Aurora": {<br/> "enabled": false<br/> },<br/> "DynamoDB": {<br/> "enabled": true<br/> },<br/> "EBS": {<br/> "enabled": false<br/> },<br/> "EC2": {<br/> "enabled": true<br/> },<br/> "EFS": {<br/> "enabled": true<br/> },<br/> "FSx": {<br/> "enabled": false<br/> },<br/> "RDS": {<br/> "enabled": true<br/> },<br/> "Redshift": {<br/> "enabled": true<br/> },<br/> "S3": {<br/> "enabled": false<br/> },<br/> "VirtualMachine": {<br/> "enabled": false<br/> }<br/>}</pre> | no |
| service-opt-in | If not specified, EC2, RDS, EFS, and S3 are enabled | `map(string)` | <pre>{<br/> "Aurora": false,<br/> "CloudFormation": false,<br/> "DynamoDB": false,<br/> "EBS": false,<br/> "EC2": true,<br/> "EFS": true,<br/> "EKS": false,<br/> "FSx": false,<br/> "Neptune": false,<br/> "RDS": true,<br/> "Redshift": false,<br/> "Redshift Serverless": false,<br/> "S3": true,<br/> "SAP HANA on Amazon EC2": false,<br/> "Storage Gateway": false,<br/> "VirtualMachine": false<br/>}</pre> | no |
## Outputs