billing を雑につけ外しすればオッケーなのかな、と思ってたけど結構たいへんだったので。
ポリシーを作成する
ebale_cost_expolorer とかそんな感じの名前でよくない? という感じ。
{ "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": "*" } ] }
作ったポリシーをアタッチする
アクセスさせたいユーザーに、作ったポリシーを IAM からアタッチする。
おわりだ……。