0

创建 EMR 集群时出现此错误 在此处输入图像描述

用户在策略中拥有ec2:DescribeSubnets权限,如下所示。根本原因是什么?

{
        “Sid”: “AllowOperateClusters”,
        “Effect”: “Allow”,
        “Action”: [
            “elasticmapreduce:RunJobFlow”,
            “elasticmapreduce:DescribeCluster”,
            “elasticmapreduce:ListClusters”,
            “elasticmapreduce:ListBootstrapActions”,
            “elasticmapreduce:ListSteps”,
            “elasticmapreduce:ListInstanceGroups”,
            “elasticmapreduce:OpenEditorInConsole”,
            “elasticmapreduce:ListEditors”,
            “ec2:DescribeAccountAttributes”,
            “ec2:DescribeVpcs”,
            “ec2:DescribeAvailabilityZones”,
            “ec2:DescribeSubnets”
        ],
        “Resource”: “*”
    }
4

1 回答 1

1

它在授予以下权限后工作。

ec2:DescribeNetworkAcls
ec2:DescribeRouteTables
于 2021-03-05T15:42:09.670 回答