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

Error with step functions running using webpack #60

Open
AhmedWael93 opened this issue Dec 16, 2020 · 4 comments
Open

Error with step functions running using webpack #60

AhmedWael93 opened this issue Dec 16, 2020 · 4 comments

Comments

@AhmedWael93
Copy link

Having functions as files result in error like this (Function "GetEvents" does not presented in serverless manifest)

functions:
  - ${file(step-functions.yml)}
  - ${file(functions.yml)}

Serverless version:

"serverless": "^1.35.1"
"serverless-step-functions-offline": "^2.1.4",

@KrolKamil
Copy link

KrolKamil commented Feb 11, 2021

I guess this repo is no longer maintained.
I can suggest a workaround for this issue.

  1. Make a copy of your serverless.yml
  2. Run serverless print in the console to resolve variables, paths, etc. Copy results.
  3. Replace serverless.yml with the results from step 2.
  4. Run sls step-functions-offline...

@AhmedWael93
Copy link
Author

@KrolKamil do you know another repo that runs step functions locally ?

@KrolKamil
Copy link

@AhmedWael93 Unfortunately not ;;__;;

@ryanolee
Copy link

ryanolee commented Aug 1, 2021

@KrolKamil do you know another repo that runs step functions locally ?

Might be slightly late to the party on this one 😆 But have been able to get this package working locally fairly well for https://github.com/ryanolee/pager-duty-sync/blob/master/serverless.yml ?

Though it uses a python runtime so had to fork the repo to get it working :(

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

3 participants