1 Answer
- Newest
- Most votes
- Most comments
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
Relevant content
- Accepted Answerasked 10 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago