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,560 points
47 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 in AWS by Shashank
• 1,350 points
749 views
+1 vote
1 answer
0 votes
1 answer

Unable to delete subnets in a VPC using boto3.

.terminate is used for instances and not ...READ MORE

answered Dec 4, 2018 in AWS by Shuvodip Ghosh
112 views
+4 votes
1 answer

How to create a lambda fucntion using Python?

Hey @Jino, I will tell you the ...READ MORE

answered Dec 20, 2018 in AWS by Nabarupa
198 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 4, 2018 in AWS by Shuvodip Ghosh
473 views