-
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 engine instance and disk referencing error #112
Comments
Bump of this please. The specific error seems to be:
|
Hey @nodesocket, sorry you're having issues. I'm actually doing a big rework of the disk attaching process so I'm not going to be able to get to this specific issue right away, but it should be resolved reasonably soon as a result of the other work! |
Great. Is this specific to creating a disk from a |
My work is focusing on the latter. |
Ok, well I need both cases to work 😸 . Create disk from snapshot:
Create disk from image:
|
This seems to actually still be a bug.
|
The disk should be successfully detached with #320; I just wanted to note that this doesn't mean that attaching and detaching will work, and that deleting a disk means it will be removed completely from the instance. The delete operation will just succeed now, instead of failing unintentionally. |
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! |
This issue was originally opened by @nodesocket as hashicorp/terraform#15181. It was migrated here as part of the provider split. The original body of the issue is below.
Think I discovered a bug using
google_compute_disk
andgoogle_compute_instance
referencing resources.Create a disk using a resource block like:
Then create an instance referencing the above disk:
After the
apply
finishes, runapply
again. You will see the following error:The text was updated successfully, but these errors were encountered: