-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Revoke EC2 Security Group ICMP Rule That Was Added Via AWS Management Console #1075
Comments
Thanks for all the debug info, it's really helpful. To revoke this rule, at the API level, we need to specify a FromPort of 8 and a ToPort of -1. The In the meantime, you can use the
|
Thank you for the workaround. I had ended up using the Ruby AWS SDK to do the immediate task, but this would work well too.
|
* issue-1075: Add #1075 to the changelog Parse "--port 8--1" properly
I made a test security group in the AWS EC2 Management Console with one rule: Inbound, Type: Custom ICMP Rule, Protocol: Echo Request, Source: Custom IP: 8.8.8.8.
Using the AWS CLI, I can see the rule, with ToPort and FromPort being different from each other
Both of these attempts return nothing and describing the security group again shows that it's still there.
This one results in an error. I've pasted the debug from this further down.
If I try to add a similar rule, these return nothing.
And this one gets a similar error.
Describing the group again, I see that the first two work, but do not match the AWS Management Console regarding ToPort and FromPort
I'm running the latest AWS CLI release and Python 2.7.
Here is the revoke command that gets an error, with debugging enabled.
The text was updated successfully, but these errors were encountered: