1 Answer
- Newest
- Most votes
- Most comments
0
There are some format errors here. the action names should not have spaces between the service namespace and the action name. Remove the spaces between "elasticloadbalancing:" and "AddTags"/"RemoveTags" for the ELB-related actions. Also, ensure that there is a comma between each action within the list, but no comma at the end of array.
I took another another look and I found there are no actions of types:
"route53:DeleteTagsForDomain",
"route53:ListTagsForDomain",
"route53:TagResource",
"route53:UntagResource"
I corrected the policy. Try it and let me know
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"elasticloadbalancing:AddTags",
"elasticloadbalancing:RemoveTags"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"logs: TagLogGroup",
"logs: UntagLogGroup",
"logs:TagResource",
"logs:UntagResource"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"route53:ChangeTagsForResource",
"route53:ListTagsForResource",
"route53domains:UpdateTagsForDomain",
"route53domains:ListTagsForDomain",
"route53domains:DeleteTagsForDomain"
],
"Resource": "*"
}
]
}
answered 5 months ago
Relevant content
- asked 7 months ago
- Accepted Answerasked 8 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago
Answer updated*
This is a good reference for IAM https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html