Closed kddejong closed 1 month ago
My mistake, this is an AWS::DocDB::DBCluster
: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html
This property is an exception. We currently assume that the type for these exceptions matches to the schema definition but that isn't true in this case. Working on a fix.
To be clear its an exception in which the schema doesn't properly define it and we try to fix that missing attribute.
Value: !GetAtt DBCluster.Port
fails with E6101 Attempting to cast it with something likeValue: !Sub ${DBCluster.Port}
also fails with E6101Unless that is something that changed very recently, CloudFormation used to happily accept
Value: !GetAtt DBCluster.Port
Originally posted by @Dantemss in https://github.com/aws-cloudformation/cfn-lint/issues/3725#issuecomment-2419900363