DEV Community

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

Collapse
 
fimpr profile image
Fimpr

This is a nice writeup. But you may want to mention that this requires the pligin github.com/functionalone/serverles... to be installed prior to running this code. Otherwise, it fails to create the Role for the function.

Collapse
 
adnanrahic profile image
Adnan Rahić

Thanks! But it doesn't need that plugin to work. You define the IAM roles in the provider section of the serverless.yml file.

Collapse
 
fimpr profile image
Fimpr

Interesting. It failed to create role the first time around. But on second run, it worked fine.