RDB instance should have backup retention longer than 1 day
Backup retention periods should be set to a period that is a balance on cost and limiting risk.
Impact
Recommended Actions
Follow the appropriate remediation steps below to resolve the issue.
Explicitly set the retention period to greater than the default
1
2
3
4
5
6
7
8
9
10
11
12
|
resource "nifcloud_db_instance" "good_example" {
allocated_storage = 100
engine = "mysql"
engine_version = "5.7"
instance_class = "db.large8"
name = "mydb"
username = "foo"
password = "foobarbaz"
parameter_group_name = "default.mysql5.7"
backup_retention_period = 5
skip_final_snapshot = true
}
|
Links