In short, I am receiving a Lambda error that appears to be caused by permissions on sls deploy. I have admin privileges over all of us-east-2.
The policy for admin-us-east-2:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "*",
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:RequestedRegion": "us-east-2"
}
}
}
]
}
When I deploy, it runs until eventually throwing an IamRoleLambdaExecution - API: iam:GetRole User error. Do I need full admin privileges to deploy to us-east-2? Or is there a way to limit my privileges and still allow me to deploy to us-east-2 without permissions errors?
I