cfn-lint shows W1020 Fn::Sub isn't needed
on Serverless LayerVersion property LayerName when a Variable is actually present
#897
Labels
bug
Something isn't working
cfn-lint version: 0.20.1
cfn-lint shows
W1020 Fn::Sub isn't needed
on Serverless LayerVersion property LayerName when a Variable is actually present in the layerName String of the intrinsic function SubPlease provide as much information as possible:
sample resource:
Where Environment is a Paramater with the following definition:
This only seems to affect LayerVersions as other resources proceed to not return the warning when using Fn::Sub in their names, even other AWS::Serverless resources.
Sample Template:
The text was updated successfully, but these errors were encountered: