AWS lambda functions look deceptively simple. The devil is in the details though. Once you
have written the code and have created a
.zip file, there's a few more steps to go.
For starters, we need an IAM profile to be defined with appropriate policies allowing the function to access …