Unable to create a function in Lambda

0 votes

I am getting this error while creating a Lmabda function.

  • User: arn:aws:iam::245376456395:user/jino is not authorized to perform: iam:PassRole on resource: arn:aws:iam::245376456395:role/aws_lambda

Can someone help?

Dec 20, 2018 in AWS by Jino
• 5,820 points
1,161 views

1 answer to this question.

0 votes
Hey @Jino, the error that you are getting is due to lack of permissions that you have.

Go to your IAM user and edit the policy and rules.

This will help you get the access and then probably you won't get this error.

Hope this helps.
answered Dec 20, 2018 by Shuvodip

Related Questions In AWS

0 votes
2 answers

How to kill a lambda function in AWS?

$ aws lambda put-function-concurrency --function-name my-function --reserved-concurrent-executions ...READ MORE

answered Mar 28, 2019 in AWS by Shashank
• 1,370 points
23,443 views
+1 vote
1 answer
+1 vote
1 answer

How to configure a Lambda function to access resources in a VPC?

Hi@akhtar, You can configure a Lambda function to ...READ MORE

answered Aug 27, 2020 in AWS by MD
• 95,460 points
2,163 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to create subnets in a vpc using boto3?

Here is the simple way of implementing ...READ MORE

answered Dec 5, 2018 in AWS by Shuvodip Ghosh
4,567 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP