-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
[WIP] Ec2 security groups: make SourceSecurityGroupOwnerId optional #457
Conversation
According to the documentation [1], the parameter "SourceSecurityGrroupOwnerId" does not have to present. It is only requied if the security group is in a different account. [1] http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AuthorizeSecurityGroupIngress.html
grp.authorize(ip_protocol=rule[0], from_port=rule[1], to_port=rule[2], cidr_ip=rule[3]) | ||
# ^^^^ SOMETHING HERE TO RETRY |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this fails, because it could not find the previous security group. It might take some time before it is created, so we should probably retry this a few times.
Unfortunately, this does not fix the error.
|
I've added WIP until the bug is really fixed |
Hello! Thank you for this PR. In the past several months, some major changes have taken place in
This is all accumulating in to what I hope will be a NixOps 2.0 My hope is that by adding types and more thorough automated testing, However, because of the major changes, it has become likely that this If you would like to see this merge, please bring it up to date with Thank you again for the work you've done here, I am sorry to be Graham |
This would fix #456.
I'd like some feedback on how to proceed (see source code comment below) and squash the commits into one commit before merging.