-
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
Fix issue with Network interfaces and an instance-level security groups #1189
Conversation
cc @phinze |
I think you need to associate an elasticip as well:
That was part of my config. It might not be relevant to the bug, but I know some of the stuff with API issue I read mentioned associating elasticips in there. Definitely worth sanity checking I think. |
LGTM. It is good we're finding these instance issues, thanks @jaxxstorm :) |
@jaxxstorm k, trying that. Do you also have an internet gateway? I'm having issues there... |
yep, I sure do:
|
@jaxxstorm I have this and it works: resource "aws_internet_gateway" "gw" {
} Not really any different except I am not using concat() which really isn't needed for that anymore. |
Updated the config example:
Things seem to work as expected. I'm going to make an acceptance test then get this merged! |
LGTM |
const testAccInstanceNetworkInstanceSecurityGroups = ` | ||
resource "aws_internet_gateway" "gw" { | ||
vpc_id = "${aws_vpc.foo.id}" | ||
depends_on = ["aws_eip.foo_eip"] |
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.
Ok, two things: (1) remove this dependency
Logic for new dependency suggestions:
|
* master: provider/aws: Fix encoding bug with AWS Instance minor style cleanups Tags Schema Added Tagging Added vpc refactor in aws sdk go Removed additional variable for print, added for debugging Using hashicorp/aws-sdk-go Changed things around as suggested by @catsby Refactor with Acceptance Tests VPC Refactor First refactor Added Connection to config
@phinze I think we're good here now, yeah? |
@catsby Yep this is good to go. |
Fix issue with Network interfaces and an instance-level security groups
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. |
This should fix #1188, pending current acceptance tests and a new one to account for the issue there.
The configuration I tested: