-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
provider/aws: Add Security Group Rule as a top level resource #1620
Conversation
Any ETA on when this will be merged/released? Will fix an issue I'm running into very similar to #539 Tried out dev binaries from this branch and it works great, just looking to see when I can expect this from upstream. Thanks! |
cc @phinze or @mitchellh for feedback when you can |
Code looks great! Trying to think out the behavior here for SGs that have some rules defined nested and others not. Perhaps that's just something we solve with documentation at this point? Basically a user who wants to use the top-level rules needs to not define any nested rules. Yeah? (Eventually we'll build in a first-class concept of nested resources so we can express the nested ones as just "versions" of these top level ones.) |
FWIW, my use case has rules defined both in the SG and in an SGR (in different modules) and it worked great in my (albeit only one) test. Sent from my iPhone
|
@phinze great question... I'll have to think on that and tinker with it... but I believe we'd want to solve that with documentation at this point. |
@phinze tested it out – if a user has Seems like Documentation is the way to "solve" this for now 😦 |
4f745ce
to
8556b6f
Compare
- document conflict with sg rules and sg in-line rules - for this to work, ingress rules need to be computed
8556b6f
to
885efa0
Compare
…ource provider/aws: Add Security Group Rule as a top level resource
provider/aws: Add Security Group Rule as a top level resource #1620
|
||
# aws\_security\_group\_rule | ||
|
||
Provides a security group rule resource. Represents a signle `ingress` or |
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.
single
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
First attempt at making Security Group Rules (ingress, egress) top level resources.
This is raw, like sushi, and probably needs refinement, but it's a good start.
Missing:
cc @phinze