Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: is it posible to use stepfunctions.startExecution in a localdev environment? #35

Open
josoroma-zz opened this issue Sep 25, 2019 · 0 comments

Comments

@josoroma-zz
Copy link

josoroma-zz commented Sep 25, 2019

Hi hackers, nice plugin!

Question: is it posible to use stepfunctions.startExecution in a localdev environment?

        const params = {
          name: "GenerateCourseWorkflow",
          stateMachineArn: process.env.statemachine_arn,
          input: `{ id: ${course.dataValues.id} }`
        };

        stepfunctions.startExecution(params, (err, data) => {
          console.log(`Params: ${params}`);

          if (err) {
            console.log(`===> Error: ${err}`);
            console.log(`===> Error Stack: ${err.stack}`);
          } else {
            console.log(`Data: ${data}`);
          }
        });

image

Thanks!

@josoroma-zz josoroma-zz changed the title Question: is it posible to use stepfunctions.startExecution in a localdev environment? Question: is it posible to use stepfunctions.startExecution in a localdev environment? Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant