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

Failure when using serverless.YAML

Open vicneanschi opened this issue 8 years ago • 3 comments

In my setup I'm using *.yaml extension. This line is causing problems: https://github.com/horike37/serverless-step-functions/blob/acaf689064150b17fee0950356499081ba35b7b2/lib/yamlParser.js#L13

vicneanschi avatar Oct 27 '17 19:10 vicneanschi

Thanks @vicneanschi for reporting :+1: That looks a bug.

horike37 avatar Nov 01 '17 00:11 horike37

@horike37 so what's the plan here? I think it would be great if we can use this:

https://github.com/serverless/serverless/blob/ba979a7a8fc6b095910a2cd67cb6413ac7524952/lib/plugins/plugin/lib/utils.js

diegotry avatar Jan 03 '18 18:01 diegotry

@diegotry Yes, I think that's a reasonable way :+1: Do you want to take a first stab at it? If so, please send us the pull request!

horike37 avatar Jan 05 '18 06:01 horike37