StepFunction serverless plugin-How to update existing Stepfunction using UpdateStateMachine API

AWS has recently release functionality to update state machine (see

I was wondering if serverless step functions plugin (serverless-step-functions) is supporting this yet ?


Thank you for using this plugin! @ajmal744
Yes, already supported that!
It works with the update mode if you specify name statement under stepFunctions section in serverless.yml

Thanks a lot for response.

Sorry for being naive, what do you mean by “update mode” ? Do you have an example of it please ?

Here is a sample.
it is deployed with updating state machine if you specify name section.
On the other hand, if you don’t specify the name, it is deployed with creating state machine every deployment

      name: yourStatemachineName
        <your definition>