What's the aws cli command to create the default EMR-managed security groups?

只谈情不闲聊 提交于 2019-12-12 04:45:30

问题


When using the EMR web console, you can create a cluster and AWS automatically creates the EMR-managed security groups named "ElasticMapReduce-master" & "ElasticMapReduce-slave". How do you create those via the aws cli?

I found aws emr create-default-roles but there's no aws emr create-default-security-groups.


回答1:


As of right now, it looks like you can't. See http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-man-sec-groups.html section "To specify Amazon EMR–managed security groups using the AWS CLI":

Amazon EMR–managed security groups are not supported in the Amazon EMR CLI.

Also see https://github.com/aws/aws-cli/issues/2485



来源:https://stackoverflow.com/questions/42706724/whats-the-aws-cli-command-to-create-the-default-emr-managed-security-groups

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!