Aws-sam-cli: Feature request: support of step functions

Created on 19 Oct 2017  路  22Comments  路  Source: aws/aws-sam-cli

We are thrilled to use the serverless capacities of Amazon Web Services.

Still, we met some issues with local development.

We turn ourselves to other local development capabilities like https://serverless.com/ or https://localstack.cloud/ not to mention our custom build for local tooling.

Is there any chance to see a support of the awesome step functions in AWS SAM local

priorit2-important typfeature

Most helpful comment

As a managed state machine, entirely serverless, it may belong to SAM local by definition itself.

Step functions service is an integral part of our serverless applications. Two use cases:

  1. A workflow with multiple steps and logic to process emails we receive,
  2. An API endpoint that calls several lambda functions.

All 22 comments

Not sure I understand how Step Functions would apply to Sam Local, do yo perhaps mean that you want a GUI to coordinate the flow of a trigger?

As a managed state machine, entirely serverless, it may belong to SAM local by definition itself.

Step functions service is an integral part of our serverless applications. Two use cases:

  1. A workflow with multiple steps and logic to process emails we receive,
  2. An API endpoint that calls several lambda functions.

Hi SAM

Any AWS comment?

We are using Step Functions more and more on our side and we would be delighted of an official AWS support.

In the meantime we have started our work on a step functions local implementation: https://github.com/airware/stepfunctions-local

Stumbled on a question in slack and found this thread because i would love to see support for StepFunctions in sam local. I also found this one: https://www.npmjs.com/package/stepfunctions-local but i prefer to have 1 tool like sam local that handles these things for development.

We're designing a new system and looking at Step Functions for the implementation. Being able to develop them locally with SAM might be the difference between using Step Functions and using something else.

That really is a great news! Any ETA?

How can we help? Happy to share use cases or development effort!

+1 I really need this feature

+1 I really need this feature

+1 me to

+1 thanks

+1

+1

It would be nice to include event triggers if possible, where the event data is routed to the Step function much like what you can already do with a pure lambda.

+1

+1

+1

Well over 2 years later, any update?
+1

you can call locally a step-function from a lambda using sam-local if you overwrite boto3. (In my requirements.txt I added boto3==1.10.45).

Whatever, a straight forward integrate should be great!

+1

+1

boom 馃殌 https://github.com/awslabs/aws-sam-cli/pull/2009

@jfuss you may close it 馃槉

I would like to keep this ticket open until SAM CLI has local support for step functions, like it does for lambdas with invoke and start-lambda.

Seems fair.

@timoschilling I am currently reviewing older issues that are still open. I am closing this issue for now because we have implemented SAM support for Step Functions ( SFn ) but we have no plans currently to support a local emulation for SFn in the way I think you are asking.

If you feel strongly regarding local emulation of some sort, please file another issue and mention me, and I will be happy to investigate your use case.

Was this page helpful?
0 / 5 - 0 ratings