Skip to content

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

Open
@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/needs-triageAutomatically applied to new issues and PRs, indicating they haven't been looked at.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions