The lambda looks for aws:rds:primarydbinstancearn tag when looking up the master RDS username and password secret but this is not present on a secret created by an RDS cluster since that uses aws:rds:primaryDBClusterArn tag instead. This results in a "key host not found" error.
The lambda looks for
aws:rds:primarydbinstancearn
tag when looking up the master RDS username and password secret but this is not present on a secret created by an RDS cluster since that usesaws:rds:primaryDBClusterArn
tag instead. This results in a "key host not found" error.