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