Hi, I am a beginner, and yesterday my code build was working successfully, but today when just relogged and tried to run same code build ,i am getting below error, please help for the same.
Error message Build terminated with state: FAILED Failed phase QUEUED Failed phase code UNAUTHORIZED_OPERATION_DESCRIBE_NETWORK_INTERFACES Failed phase message The service role is not authorized to perform ec2:DescribeNetworkInterfaces

1 Answer

Does your IAM Role allow ec2:DescribeNetworkInterfaces? This documentation helps outline sample IAM policies when working in the Amazon EC2: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-policies-ec2-console.html

answered 22 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions