serverless-operations / serverless-operations/serverless-step-functions

Support condition

Open
#505 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: state-machine enhancement
Dominant language
JavaScript
Stars
1k
Forks
220
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by locating how the plugin generates Step Functions resources and compare that path with Serverless's existing Lambda condition support. Done means accepting condition: SomeCondition for a state machine and emitting the corresponding CloudFormation resource condition, with tests covering the syntax.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.