Open
Description
We want to implement optional role configuration in SAM function templates. This would work in two ways:
- When a role ARN is provided, the function will use the specified role
- When no role is provided, SAM will automatically create an execution role
Please consider to allow Cloudformation AWS::NoValue for this use case. SAM currently does not support AWS::NoValue
probably due to this code.