Create Role for Lambda
Create Role for Lambda Function
- Access the interface AWS Management Console
- In the IAM interface
- Select Roles
- Select Create role
- In the Select trusted entity interface
- Select AWS service
- Select Lambda
- Select Next
- In the Add permissions interface
- Find AmazonEC2FullAccess
- Select AmazonEC2FullAccess
- Next, same step above
- Find CloudWatchFullAccess
- Select CloudWatchFullAccess
- Select Next
- In the Name, review, and create section
- **Enter
dc-common-lambda-role
for Role name
- Double check and select Create role
- Complete role creation for Lamda Function