serverless-step-functions icon indicating copy to clipboard operation
serverless-step-functions copied to clipboard

Support condition

Open smosek opened this issue 2 years ago • 1 comments

This is a Feature Proposal

Description

  • CloudFormation has a condition feature that can be used on resources to conditionally deploy them.
  • Serverless supports this for lambda functions by using condition: SomeCondition
  • It would be great for step functions to support the same syntax, with the result being a condition on the resource

smosek avatar Apr 28 '22 13:04 smosek

good point, I think we also need this feaure, as we have some lambda/step machines are only deployed into a specific region, we could use the condition function on lambda, but for step machines, seems we don't have a good way to do this.

jiwoorico avatar Sep 04 '23 14:09 jiwoorico