-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
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
- Function resources (function, IAM role, etc) (v1.10.0)
- Event resources (permissions, integrations, etc) (v1.10.0) (see Conditional event attachment #214 for tracking conditions support inside of events, which is not implemented in v1.10.0)
- Implicit API: Issue RFC: Conditions and API Events #758
- Alias (v1.10.0)
- 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
mikecbrant, brunomorency, glenveegee, yesitsdave, 0xhmn and 43 moredevilmango