I cannot enable log retention on an RDS instance that is confirmed as a Read Replica using the SourceDBInstanceIdentifier due to a troposphere error.
Error message
ValueError: BackupRetentionPeriod properties can't be provided when SourceDBInstanceIdentifier is present AWS::RDS::DBInstance.
When attempting to turn on retention to enable binlog replication to a 3rd party (non-aws resource), AWS support states that I must enable the BackupRetentionPeriod attribute on my RDS instance that is using the SourceDBInstanceIdentifier attribute.
Troposphere has a validation check that incorrectly asserts that BackupRetentionPeriod is not a valid property, while I can push this Cloudformation configuration to my AWS environment:
Don't set the BackupRetentionPeriod, DBName, MasterUsername, MasterUserPassword, and PreferredBackupWindow properties. The database attributes are inherited from the source DB instance, and backups are disabled for read replicas.
I cannot enable log retention on an RDS instance that is confirmed as a Read Replica using the
SourceDBInstanceIdentifier
due to a troposphere error.Error message
When attempting to turn on retention to enable binlog replication to a 3rd party (non-aws resource), AWS support states that I must enable the
BackupRetentionPeriod
attribute on my RDS instance that is using theSourceDBInstanceIdentifier
attribute.Troposphere has a validation check that incorrectly asserts that
BackupRetentionPeriod
is not a valid property, while I can push this Cloudformation configuration to my AWS environment:This pull request removes the invalid assertion that
BackupRetentionPeriod
is not compatible withSourceDBInstanceIdentifier
.Documentation does not state this as an incompatible attribute.