Problem scenario
When trying to attach a Lambda function to a VPC, you get an error like this: “The provided execution role does not have permissions to call CreateNetworkInterface on EC2”
What should you do?
Solution
1. Go to IAM and create a policy. Use the JSON editor. Use these settings (taken from StackOverflow):
{
“Version”: “2012-10-17”, …
Continue reading “How Do You Attach a Lambda Function to a VPC?”

