By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Error: AWS Compute Optimizer finding

0

I am getting an error while trying to access my instance using rdp -

"user is not authorized to perform: compute-optimizer:GetEnrollmentStatus on resource: * because no identity-based policy allows the compute-optimizer:GetEnrollmentStatus action"

asked a year ago1.6K views
1 Answer
1

Hello.

It seems that the IAM user you are using does not allow the action "compute-optimizer:GetEnrollmentStatus".
Please check the IAM policy set for the IAM user and check if "compute-optimizer:GetEnrollmentStatus" is allowed.
https://docs.aws.amazon.com/IAM/latest/UserGuide/access_controlling.html

Try setting "AdministratorAccess" in the managed policy for the IAM user.
https://docs.aws.amazon.com/aws-managed-policy/latest/reference/AdministratorAccess.html

If your AWS account is managed by AWS Organizations, please make sure that "compute-optimizer:GetEnrollmentStatus" is not denied in SCP as well.
https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html

profile picture
EXPERT
answered a year ago
profile pictureAWS
EXPERT
reviewed a year 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