Skip to content

[Feature Request] Enable using AWS::NoValue to omit Role parameter in SAM Function #3728

@SherrryX

Description

@SherrryX

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributors/welcomeContributors are welcome to work on thisstage/prHas a PR ready for review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions