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
{{ message }}
Repository navigation
Bug: Packaging fails silently when referencing external provider information #4814
What stacktrace or error message from your provider did you see?
There was no stack trace, but the last output with SLS_DEBUG=* was:
Serverless: Packaging service...
Additional Data
Copying the provider information over from the other file results in successful packaging.
Adding a functions parameter to the config also results in a successful packaging.
changed the title [-]Bug: Packaging fails silently when missing `functions` param[/-][+]Bug: Packaging fails silently when referencing external `provider` information[/+]on Mar 9, 2018
One caveat: digging through the source, it looks like provider requires the provider name to be in the configuration and not included through a variable.
Activity
[-]Bug: Packaging fails silently when missing `functions` param[/-][+]Bug: Packaging fails silently when referencing external `provider` information[/+]Omicron7 commentedon Mar 12, 2018
@MacMcIrish I wrote this serverless-merge-config which should help. It implements a post variable merge. So your initial "workaround" will now work.
One caveat: digging through the source, it looks like
providerrequires the provider name to be in the configuration and not included through a variable.dihmeetree commentedon Jun 19, 2018
Also experiencing this as well! Wanted to provide my provider options in an external yaml file :/
simlu commentedon Jun 19, 2018
@lolcoolkat We are now using yaml-boost for everything and it's working great so far. You just need to switch to a serverless.js file.
dihmeetree commentedon Jun 19, 2018
Thanks for the suggestion @simlu !!!!!!!! I will check it out 😸