Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
sam build fails when providing a function LayerArn with a reference to a SSM::Parameter CF param #1069
Steps to reproduce
View debug output here
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
@ericallam Thanks for bringing this up. Currently SAM CLI does not do deep inspection of Parameters. I can see some value in doing this inspection and fetching the value but that means we are in this continually re-implement CloudFormation Features locally. You can use the
It may make sense for
I am another wishing for a fix/change for this as well...
Using SSM parameters for SAM template parameters is VERY nice. Not validating the
Since you are not bundling up the Layers themselves in the code in the SAM Build Step, it makes sense to at least ignore the
So, I hope to hear that this is something to be fixed in a new-er version in the near future. I prefer to keep my
I get that using
This is exactly how it should behave if the
Otherwise, one has to search Github issues to find this solution.