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

Individual Step Function Deploy

Open jappurohit041 opened this issue 1 year ago • 5 comments

This is a Feature Proposal

Individual Step Function Deploy

This document outlines the process for adding the individual step function deploy feature to a plugin.

Background

Step functions are a powerful tool for building serverless workflows. They allow you to orchestrate multiple AWS services into a cohesive workflow. However, deploying step functions can be challenging. AWS provides a web-based interface for building and testing step functions, but deploying them requires the use of the AWS CLI or SDK. This can be complex and error-prone, especially when you have multiple step functions to deploy.

Problem

The current plugin for deploying step functions does not allow for individual step function deployment. This means that all step functions in a stack must be deployed at once, even if only one has changed. This can be time-consuming and can increase the risk of errors.

Solution

The solution is to add an individual step function deploy feature to the plugin. This feature will allow developers to deploy a single step function without having to deploy the entire stack. This will save time and reduce the risk of errors.

Implementation

To implement the individual step function deploy feature, the following steps should be taken:

  1. Add a new command to the plugin that allows for the deployment of a single-step function. This command should take the name of the step function as a parameter.
  2. Modify the existing deploy command to allow for the deployment of a step functions at once. These command take the name of the step function as a parameter.
  3. Sample argument:
serverless deploy stepf --name *Step_Machine_Name*

Conclusion

By adding the individual step function deploy feature to the plugin, developers will have greater control over the deployment of their step functions. This will save time and reduce the risk of errors.

jappurohit041 avatar May 15 '23 08:05 jappurohit041

Hi @lopburny,

Please let us know the reviews. If required we can connect to discuss that 😄

Thanks

jappurohit041 avatar May 16 '23 07:05 jappurohit041

Hi @lopburny,

Any update on this ?

Thanks

jappurohit041 avatar Jun 22 '23 07:06 jappurohit041

Hii @horike37 @lopburny,

Could we please have look at this issue, as it has been opened since very long and we have PR ready implement this?

Thanks

jappurohit041 avatar Sep 10 '23 14:09 jappurohit041

Nice Proposal @jappurohit041 We need this Feature

poojan010 avatar Sep 21 '23 12:09 poojan010

+1

Jeeltilva avatar Sep 21 '23 12:09 Jeeltilva