- 
                Notifications
    
You must be signed in to change notification settings  - Fork 417
 
Closed
Description
This is a Bug Report
Description
All environment variables are missing.
I have built very simple project with only one function:
module.exports.hello = (event, context, callback) => {
const response = {
statusCode: 200,
body: JSON.stringify({
message: process.env.MY_VAR,
input: event,
}),
};
callback(null, response);
};
I have added to the yml file under provider this lines
environment:
MY_VAR: abc
when I run it without the plugin it works, but after I'm installing the plugin it doesn't.
Similar or dependent issue(s):
- Some, not all, environment vars are missing #99
I'm using:
serverless-webpack 4.0.0
webpack 3.8.1
serverless 1.24
Windows 10