Part 2 - Create an S3 bucket and the Lambda Role
Follow the steps to create a S3 bucket on the same region that the lambda function will be created using the AWS Management Console.
4. In the navigation pane of the IAM console, choose Roles, and then choose Create role.
5. For Select type of trusted entity, choose AWS service, select Lambda, and select Next: Permissions.
7. On the Review page name your role as “LambdaBasicAndS3FullRole”, make sure you seeing the two policies added on the step above and click on the Create Role button.