The Globals section of the SAM template, which has the property 'Runtime' is only accepting the string given as is but not resolving the dynamic references. This is not allowing us to implement our use case of referencing runtime (and other properties) from SSM store.
Error facing during SAM deploy:
Error: resolve:ssm:Lambdaruntime runtime is not supported
Other properties in Globals like timeout, handler, etc seem to support and resolve the ssm parameter as expected.
Expected Behavior
SSM Parameter to be resolved correctly to the value stored in the parameter.
Observed Behavior
Error facing during SAM deploy:
Error: resolve:ssm:Lambdaruntime runtime is not supported
Test Cases
SAM build fails and throws the error message when tried to deploy such a SAM template
Name of the resource
Other
Resource Name
Globals section of SAM Template
Issue Description
Hello team,
The Globals section of the SAM template, which has the property 'Runtime' is only accepting the string given as is but not resolving the dynamic references. This is not allowing us to implement our use case of referencing runtime (and other properties) from SSM store.
Error facing during SAM deploy:
Other properties in Globals like timeout, handler, etc seem to support and resolve the ssm parameter as expected.
Expected Behavior
SSM Parameter to be resolved correctly to the value stored in the parameter.
Observed Behavior
Error facing during SAM deploy:
Test Cases
SAM build fails and throws the error message when tried to deploy such a SAM template
Other Details
No response