How do i fix ec2:DescribeFpgaImages error in aws cli?

0

To check AMI and AFI approved by others using AWS cli, I used the command "aws ec2 description-fpga-images > output",

An error occurred (UnauthorizedOperation) when calling the DescribeFpgaImages operation: You are not authorized to perform this operation. User: arn:aws:iam::"user-id":user/"name" is not authorized to perform: ec2:DescribeFpgaImages because no identity-based policy allows the ec2:DescribeFpgaImages action

The error phrase appears. How do i solve this? I tried to solve the error by adding a policy, but no policy fits it.

Key setting and regional setting were carried out without any problems in advance.

1개 답변
0

Hello!

Thank you for reaching out with this issue. I have a few questions that may lead to debug paths or for us to reproduce this issue:

  1. Which AWS region are you attempting to run this command on?
  2. Have you tried running this command in an AWS CloudShell?
  3. Were you able to run the CLI command with the same user and role before?
  4. Which IAM policies did you attempt to add before running the command? We recommend trying AdministratorAccess to debug the issue
답변함 2달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠