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,770 points
191 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
11,020 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 in AWS by MD
• 65,360 points
116 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
1,610 views