New IAM admin user sees “You are not authorized to perform this operation”

后端 未结 3 670
没有蜡笔的小新
没有蜡笔的小新 2021-01-02 06:34

I am trying to get started with the AWS CLI on OSX. I installed aws via pip. I have created a new user in IAM and attached the pre-built AdministratorAcce

3条回答
  •  囚心锁ツ
    2021-01-02 06:58

    Make sure you are not creating the security group in VPC, if this is the case you need to pass default VPC ID as a parameter.

    Also try this with different regions:

    aws configure set region 
    aws ec2 describe-security-groups
    

    NOTE: AWS has started providing default VPC's in most of the regions.

    Hope this helps and resolve your issue.

提交回复
热议问题