A security team is developing an automated solution that uses an AWS Lambda function to provision an Amazon EC2 instance. The solution will provision the EC2 instance with an IAM role that has the permissions necessary to make API calls to other AWS services in the same AWS account. The security team can create the AMI for this EC2 instance. The team encrypts the AMI by using an AWS Key Management Service (AWS KMS) customer managed key.
When the team invokes the Lambda function to launch the EC2 instance, the team receives an access denied error message from the Lambda function’s execution role. The team analyzes the Lambda function execution role for missing permissions.
What is the MOST likely cause of this error message?
OCHT
Highly Voted 1 year, 10 months agocloudenthusiast
Highly Voted 1 year, 10 months agokret
Most Recent 1 year, 1 month agoSalah21
1 year, 5 months agoNuha_23
1 year, 8 months agofrancinetanzx
1 year, 10 months agoGreen53
1 year, 10 months agokuber2023
1 year, 10 months agop4v10
1 year, 10 months ago