1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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": "*"
}
]
}
répondu il y a 5 mois
Contenus pertinents
- demandé il y a 2 mois
- demandé il y a 6 mois
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an
Answer updated*
This is a good reference for IAM https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html