Skip to content
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

Cannot create a google_compute_instance with no ephemeral IP address. #599

Closed
jharriman opened this issue Nov 25, 2014 · 4 comments
Closed

Comments

@jharriman
Copy link
Contributor

Google Compute Engine allows instances to be created without assigning an ephemeral IP address (https://cloud.google.com/compute/docs/instances-and-network), but Terraform doesn't seem to support creating an instance without an external IP.

Currently Terraform hard codes 1 access config when creating an instance, which forces us to assign an external IP address. (Thanks to Spark on IRC for hunting down the problem in the Terraform source)

Sometimes, we do not want instances to be addressable from the global internet. Terraform should allow us to remove the ephemeral IP address from newly created GCE instances.

@sparkprime
Copy link
Contributor

Note: a firewall rule can be used as a workaround

I would like to fix this by exposing the accessConfig structure in the terraform config. This will create a backwards incompatibility but IMO is worth it.

@sparkprime
Copy link
Contributor

@phinze can close this now

@phinze
Copy link
Contributor

phinze commented Feb 10, 2015

👍

@phinze phinze closed this as completed Feb 10, 2015
@ghost
Copy link

ghost commented May 4, 2020

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.

@ghost ghost locked and limited conversation to collaborators May 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants