You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The optimizer will fail if you run a sls function deploy -a from the project root and have multiple function roots in a deeper level. It does not find the inclusion paths.
It seems the plugin does not use the magic handler strategy to find the function root from the function definitions.
If you start the deploy from the function root, it works as expected.
@doapp-ryanp I suggest that the plugin uses SLS Project to get the function root and sets its CWD to there and then executes all the stuff. Then it should work.
michalsanger, arabold, TheSharpieOne, ajagnanan and nirmalgoswami