-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
google_compute_instance should allow to specify instance state #1719
Comments
Hi, thanks for the feature request! As you noted, this is a common feature request for other providers, and I think the current state of things is best summed up by Mitchell's response to the feature request for AWS: managing the state of an instance is more complicated than managing the presence of an instance (how do I go from "terminated" to "stopped"? What do we even do with "suspended"?) I think upstream Terraform was thinking on some of this a bit ago, but I don't know that a decision was ever reached. |
This is so needed! I tried deploying the new gitlab chart to a cluster running 2 |
@paddycarver I'm not really sure why do we have "STOPPED" status in compute client. https://cloud.google.com/compute/docs/instances/instance-life-cycle describes TERMINATED state as state for stopped instance. I've created PR using life cycle info from this doc. |
@rileykarson We can close this. It was fixed in #4797 |
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. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Hi,
There are several long lasting issues open with the same functionality request for aws_instance.
It would be very useful to have such option for google_compute_instance as well.
Terraform Version
Terraform v0.11.7
Affected Resource(s)
Terraform Configuration Files
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
The text was updated successfully, but these errors were encountered: