Logical Id for LayerVersion not updated #703
When creating a AWS::Serverless::LayerVersion and using a combination of S3 Location Object and !Ref for the ContentUri the generated hash for the logical Id don't change.
Template in use:
Steps to reproduce the issue:
Same logical Id generated and the old LayerVersion gets deleted.
A new logical Id is generated and old LayerVersion is preserved.
Yes, I can see how this would happen, good find. We need to resolve the !Ref intrinsic in SAM instead of letting CFN do it.