After updating my ASK CLI to v1 (aka, 1.1.2), my lambda uploads...
ask deploy -t lambda
...kept resulting in a "Path must be a string" error. I discovered that ASK CLI now looks for the sourceDir field inside skill.json's apis.custom.regions[region].endpoint as opposed to apis.custom.endpoint.
- Is this documented somewhere (I had to sift through the ask-cli Javascript to debug this)?
- Am I doing this correctly now, or is there a better place to put the path to my lambda code than in apis.custom.regions[region].endpoint.sourceDir ?
- Did apis.custom.endpoint die with ASK CLI v0 (can I remove it from the skill.json manifest now that I'm using v1)?
Thanks,
-Randy