Skip to content

Feature request: Propagate tags to SAM translated resources #2642

@abbylane

Description

@abbylane

Describe your idea/feature/enhancement

I would like it if the SAM translator propagated tags from SAM resources to CloudFormation resources. For example, if I have a AWS::Serverless::Function resource in my CFT, the transformed resources such as AWS::CodeDeploy::DeploymentGroup do not contain these tags.

Use Case: We would like to validate tags for SAM templates. We transform the templates before validation, and want to enforce tag validations for the transformed resources.

Proposal

When translating resources from SAM to CloudFormation, save the tags from the SAM resource and apply to all resulting transformed resources that support tagging.

Things to consider:
[ ] The SAM documentation will need to be updated

Additional Details

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions