Closed jbarnes closed 2 years ago
https://github.com/aws-cloudformation/cfn-lint/issues/2311
(nice to see more informational rule feedback coming in, assuming https://github.com/aws-cloudformation/cfn-lint-visual-studio-code/pull/223 is surfacing them more based on that being released this week)
cfn-lint version: 0.61.3
cfn-lint is falsely flagging the missing
BackupRetentionPeriod
property and it's subsequent value fromAWS::RDS:DBInstance
for an Aurora based database instance.This property and a set value is not required if it is part of an Aurora cluster. Assumption is the
Engine
property value would need to be checked for the presence ofaurora-<engine>
to not flag this linting issue.I suspect if the value is set via a CloudFormation function cfn-lint would still incorrectly flag this.
AWS Documentation reference - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-backupretentionperiod
CloudFormation example