AWS IAM is failing with missing permissions that are unrecognized by AWS

0

A developer on our team is trying to view AWS CloudFront caching stats (https://console.aws.amazon.com/cloudfront/v3/home?#/popular_urls and https://console.aws.amazon.com/cloudfront/v3/home?#/cache) and is getting IAM permissions errors saying that he doesn't have cloudfront:GetPopularURLs and cloudfront:ListCacheStatsDataPointSeries permissions. I'm trying to give him access, but these IAM permissions don't exist in the IAM UI (see screenshots below). How can that be? Enter image description here

feita há 2 anos332 visualizações
1 Resposta
1

Some actions are not supported in the Visual Editor. But you can get past that by adding those action using the JSON tab or pasting a JSON policy document. A policy like the following works though it would show the error "Unrecognised Actions" in Policy summary

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "cloudfront:ListCacheStatsDataPointSeries",
                "cloudfront:GetPopularURLs",
                "cloudfront:ListDistributions"
            ],
            "Resource": "*"
        }
    ]
}
profile picture
Syd
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas