Skip to content

All environment variables are missing  #274

@zamirdan

Description

@zamirdan

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):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions