4
3

More than 1 year has passed since last update.

IAMユーザーに AWS Cost Explorer へのアクセスを許可する

Last updated at Posted at 2021-03-22

概要

IAMユーザーで Cost Explorer にアクセスするための設定方法を備忘として残しています。
設定前は画像の通り権限エラーとなります。
image.png

手順

画面右上のアカウント名から「マイアカウント」をクリック

※ルートユーザーでログインしている状態で操作してください。
image.png

IAM ユーザー/ロールによる請求へのアクセス を有効化

image.png

ポリシーを作成

image.png

JSONで下記の通りに記述

image.png

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "ce:Get*",
                "ce:Describe*",
                "ce:List*",
                "ce:GetCostAndUsage",
                "account:GetAccountInformation",
                "billing:Get*",
                "payments:List*",
                "payments:Get*",
                "tax:List*",
                "tax:Get*",
                "consolidatedbilling:Get*",
                "consolidatedbilling:List*",
                "invoicing:List*",
                "invoicing:Get*",
                "cur:Get*",
                "cur:Validate*",
                "freetier:Get*"
            ],
            "Resource": "*"
        }
    ]
}

※Action の aws-portal が廃止され、機能毎に細分化されました。

ポリシー名を入力して作成

image.png

IAMユーザーにポリシーをアタッチ

image.png
image.png

以上で設定が完了です。

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3