Skip to content

Instantly share code, notes, and snippets.

@mHallne
Created February 4, 2019 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mHallne/ac06cbed68ecab7e0d137dd357f14c51 to your computer and use it in GitHub Desktop.
Save mHallne/ac06cbed68ecab7e0d137dd357f14c51 to your computer and use it in GitHub Desktop.
console.log('Loading function');
exports.handler = async (event, context) => {
if(process.env.KeyName1 === 'true') {
console.log('value1 =', event.key1);
console.log('value2 =', event.key2);
console.log('value3 =', event.key3);
}
return process.env.KeyName2;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment