I was trying to create a sample function in AWS lambda. I was getting the error -
**
User: arn:aws:iam::525521571543:user/odl_user_777321 is not authorized to perform: lambda:CreateFunction on resource: arn:aws:lambda:ap-south-1:525521571543:function:myfirsttrialfunction because no identity-based policy allows the lambda:CreateFunction action
**
I could see Lambda is shown as a supported service in AWS. Can anyone resolve this issue?
Can you check and make sure you created the lambda function under allowed regions?
us-east-1, us-east-2, eu-central-1, us-west-2, eu-west-2, ap-southeast-1
Our apologies for any inconvenience caused. We are aware of this issue with IAM access keys and we are working on it. We will update you as soon as we get this functionality returned.
In the meantime, until we resolve to enable IAM Keys, I would like to suggest a workaround for using terraform on the host machine with AWS.