Closed sheridansmall closed 1 week ago
This is baffling definition
"TargetPipelineVersion": { "type": "integer" },
Docs are even more odd as they have a pattern on it.
I think what we will have to do is assume that just because the value is of type string that it can still be an integer.
CloudFormation Lint Version
cfn-lint 1.3.2
What operating system are you using?
Windows, Ubuntu
Describe the bug
Using the AWS provided code https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html
!GetAttWebhookPipeline.Version
is called. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html says it is a number however cfn-lint returnsE1010 {'Fn::GetAtt': ['CodePipelineForIntegTest', 'Version']} is not of type 'integer'
Expected behavior
I would expect AWS code samples to pass without errors when tested with cfn-lint given that the code works without error.
Reproduction template