aws ec2 revoke-security-group-egress --group-id sg-xxxxxxx --protocol tcp --port 443 --cidr 175.41.128.0/18AWS EC2吊销安全组的流出是给错误
错误:
A client error (InvalidPermission.NotFound) occurred when calling the RevokeSecurityGroupEgress operation: The specified rule does not exist in this security group.
我试图与--ip的权限
aws ec2 revoke-security-group-egress --group-id sg-wwwwwwww --ip-permissions '[{"IpProtocol": "tcp", "FromPort": 443, "ToPort": 443, "IpRanges": [{"CidrIp": "175.41.128.0/18"}]}]'
错误:
A client error (InvalidPermission.NotFound) occurred when calling the RevokeSecurityGroupEgress operation: The specified rule does not exist in this security group.
检查你是在正确的区域或在命令 – BMW
不行,同样的错误加上'--region XXX'。 – user60679
如果你可以设置伯特和运行下面的命令,你会得到什么:'conn.get_all_security_groups()' – BMW