DEV Community

loading...

Discussion on: Building a serverless contact form with AWS Lambda and AWS SES

Collapse
crisacosta9 profile image
developing_Dev

sad. never got an answer on this

Collapse
jeremyprioux profile image
Jérémy Prioux

actually you have to use ${self:custom.secrets:NODE_ENV} instead of ${self:custom.secrets.NODE_ENV}

(same for EMAIL, DOMAIN)