Skip to content

Transforms do not support Conditions #142

@brandond

Description

@brandond

If I put a Condition on a resource of type "AWS::Serverless::Function", this condition is neither honored by the transform, nor is it passed through to the resources created by the transform. This makes it impossible to conditionally create transformed resources.

Tracking Conditions support:

  • Serverless::Function
  • Serverless::Api (v1.10.0)
  • Serverless::LayerVersion (v1.10.0)
  • Serverless::Application (v1.10.0)
  • Serverless::SimpleTable (v1.10.0)

Note: this is only for conditions at the Resource (top) level. For conditions in Events (not yet implemented), see #214

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