Hi Team,
I am not able to use SQS & S3 with labda functions on the AWS playground with a custom execution role with attached policies: AWSLambdaBasicExecutionRole, AWSLambdaSQSQueueExecutionRole, AmazonS3FullAccess.
The error I got for lambda function creation with execution role:
User: arn:aws:iam::992382390401:user/kk_labs_user_428729 is not authorized to perform: iam:PassRole on resource: arn:aws:iam::992382390401:role/new-lambda-sqs-s3 because no identity-based policy allows the iam:PassRole action