AWS-AMI-Automated-Creation-Deletion
AWS-AMI-Automated-Creation-Deletion copied to clipboard
Lambda Dasboard Update
The lambda dashboard has been updated...
Would you please be able to update your instructions so that I can follow them,
I thought I managed to get it right but, they don't seem to be running yet :/
Thanks
Henry
Hey Henry,
I should be able to help you get up and running, but I need to know a little bit more about how far along you got and what is the error message you see when you attempt to execute it. You can see the Lambdas output by either clicking the Test button (you might need to create a dummy "Test event") or by checking the Lambdas log output in CloudWatch Logs.
Here's a list of things that I'd recommend you check
-
Have you assigned an IAM role to the Lambda which allows it to create and delete EC2 AMIs? If you check the Lambdas permissions (Key icon in the top-left of the Designer section) it should look similar to the one in this repo.
-
Is the Lambdas Network set to "No VPC"? If not then try that. When you put a Lambda within a VPC it will typically lose Internet access, meaning that the AWS API becomes unavailable.
Hope it helps :)
@haspden There's updated instructions and screenshots in the readme now :)