-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Bug in aws_route_table when using network_interface_id/instance_id #4311
Comments
This is particularly problematic when using NAT instances. |
I'm seeing this as well, in terraform 0.6.9. Would ya'll like a repo with a reproduction of this? |
Hi @tkellen! Yes please, if you have a config which reproduces this it would be great if you could post it! |
Moment. I'll whip one up! You can see it during runs of http://github.com/tkellen/infrastructure but that's like the furthest thing from an isolated test case. |
Here ya go!
Thanks for all the great work ya'll! |
Thanks @tkellen - that clearly demonstrates the issue. We'll get working on a fix for this. |
Sweet! If I had more time I'd attempt a patch to fix this myself--seems like a good first PR. Looking forward to seeing what the resolution looks like. |
Just came to file the same issue. Glad to see it is on the radar. The output always shown in my
|
Sorry guys. I created |
No need to be sorry @BSick7 -- thank you for the addition of this functionality, and for the fix! |
FYI, the PR is #5321 |
Awesome :) been waiting on this one for some time now .. thanks!! |
Turns out this is also affecting aws_route's route {} blocks in the same way:
|
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. |
When setting a
route
entry in theaws_route_table
resource, you are limited to using one of a variety of options, includingnetwork_interface_id
orinstance_id
.This works, however, when using one of these options, the state file stores values for both of them (it must resolve one from the other). and subsequent
terraform plans
show changes to be made.The text was updated successfully, but these errors were encountered: