Getting error while creating lambda function. Getting permission denied error.
We are aware of this and it’s being worked on. This is due to ongoing maintenance work on IAM permissions. We’ll notify you once the issues are fixed.
Regards.
Make sure that the role you’re using has the iam:PassRole permission for the role you’re trying to assign to the Lambda function. You need to check with your AWS administrator to adjust the permissions.
Please name the role lambda_execution_role
The labs only permit PassRole on roles with specific names.
You’re running into a permissions issue with the iam:PassRole action. Make sure your IAM user has the necessary permissions to pass the role you’re trying to use with the Lambda function. You need to talk to your AWS admin to get that sorted out.
@boulder He does not need to talk to his AWS admin. This is a KodeKloud lab, not a workplace issue. Labs have strict policies and lambda_role is not a permitted role name. lambda_execution_role is.
