This is a Bug Report
Description
For bug reports:
- What went wrong?
Deployment / packaging fails silently for config that references external provider.
- What did you expect should have happened?
Successful deployment.
- What was the config you used?
Basic example
serverless.yml:
service: service-name
provider: ${file(./resources/data.yml):provider}
resources:
Resources:
..
/resources/data.yml
provider:
region: us-west-2
- 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.
- Serverless Framework Version you're using:
1.26.1
- Operating System:
Ubuntu 16.04