Logged in as IAM user and trying to create lambda function but seeing below error, what is missing her?
User: arn:aws:iam::123334324324234:user/ is not authorized to perform: iam:CreatePolicy on resource: policy AWSLambdaBasicExecutionRole-e3e28520-4b65-439e-a006-24de73479562 1 Answer
When you create a AWS Lambda in the AWS Console a few things are done in the background by AWS. One such thing is creating a role/policy for your Lambda automatically.
To do so, your user (arn:aws:iam::123334324324234:user/) needs the iam:CreatePolicy permission.
This is something a account administrator can fix for you.