-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Grabbing the EIP from a NAT instance, not created with TF. #1238
Comments
Hi @shadycuz We already have an EIP data source: If you wish to lookup an EIP associated with NAT gateway (via NAT gateway ID) then we don't have a data source for that (yet): https://www.terraform.io/docs/providers/aws/r/nat_gateway.html#id |
@radeksimko Yes I should have been clear. I'm speaking of a NAT Gateway. I have 3 NAT gateways created from kops. I need to whitelist those ip's when I create a elasticsearch cluster in terraform. I'm not familiar with GO but I think I can use another similar data source (aws_vpn_gateway) and PR a working aws_nat_gateway data source. What do you think? |
That sounds like a good plan. |
See also #849 for a plan to handle tagging of the implicitly created EIP. |
The |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
So.. any one know if this is possible. I don't see a data source in TF for nat instances, so maybe this is more of a feature request? Other than a manual import? I'm not sure I can do a manual import.
The text was updated successfully, but these errors were encountered: