EC2 Deregister Image Client.UnauthorizedOperation Error

0

Hi AWS,

I have whitelisted the IAM permission ec2:DeregisterImage in the SCP. I have tried to deregister the image both using console and AWS CLI. I am assuming an IAM role for doing this. I was following this Stackoverflow link https://stackoverflow.com/questions/41157866/cannot-deregister-ami-from-aws-an-error-occurred-attempting-to-deregister-amis to resolve the issue but none of the way worked out for me.

Please help.

Thanks

2개 답변
0

What happens if I unregister with administrator privileges?

profile picture
전문가
답변함 일 년 전
  • Still it didn't workout @Riku_Kobayashi. I tried every way possible but nothing worked out.

0

Try using the IAM Policy Simulator to see where it is being denied.

profile pictureAWS
전문가
kentrad
답변함 일 년 전

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

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

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

관련 콘텐츠