1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
The error message “with an explicit deny in a service control policy” suggests that “tag:GetResources” is restricted by the SCP feature of Organizations, not IAM policy.
Therefore, I recommend that you contact the person who manages your AWS account or the administrator of your organization to check whether "tag:GetResources" etc. are restricted by SCP.
https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html
By the way, what kind of settings are you using in SCP?
Additionally, SCPs also inherit policies set in higher-level OUs, so if the OU of the AWS account in which the error occurs is a child OU, please also check the SCP set in the higher-level OU.
Relevant content
- asked a year ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago