小编0xF*_*ted的帖子

尽管启用了正确的 IAM 角色,但无法看到 AWS 计费控制台

我已创建并设置正确的策略,以允许我查看计费页面,如以下 AWS 文档页面所示:

https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_billing.html?icmpid=docs_iam_console#tutorial-billing-step1

我也尝试过使用 AWS 为您提供的标准策略,但没有成功。

我有以下 3 个策略,如下所示:AdministratorAccess、Billing 和 BillingFullAccess

所有这些策略都附加到我的帐户所属的用户组。该群组或我的帐户没有附加任何其他政策。

管理员访问权限:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "*",
            "Resource": "*"
        }
    ]
}

Run Code Online (Sandbox Code Playgroud)

计费:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "aws-portal:*Billing",
                "aws-portal:*Usage",
                "aws-portal:*PaymentMethods",
                "budgets:ViewBudget",
                "budgets:ModifyBudget",
                "ce:UpdatePreferences",
                "ce:CreateReport",
                "ce:UpdateReport",
                "ce:DeleteReport",
                "ce:CreateNotificationSubscription",
                "ce:UpdateNotificationSubscription",
                "ce:DeleteNotificationSubscription",
                "cur:DescribeReportDefinitions",
                "cur:PutReportDefinition",
                "cur:ModifyReportDefinition",
                "cur:DeleteReportDefinition",
                "purchase-orders:*PurchaseOrders"
            ],
            "Resource": "*"
        }
    ]
}

Run Code Online (Sandbox Code Playgroud)

计费完整访问:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": "aws-portal:*",
            "Resource": "*"
        }
    ] …
Run Code Online (Sandbox Code Playgroud)

amazon-web-services amazon-iam aws-billing

3
推荐指数
1
解决办法
1545
查看次数