You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use terraform. We create large infrastructure with it and now trying to scale it down. Earlier we put instances in three zones and now we need only two zones. So I try to move instances between zones with gcloud compute instance move and terraform always try to recreate instance. Even after manual correction of tfstate i see following:
Terraform should correctly pick up data from it state
Actual Behavior
Terraform don't pick up disk image data
Steps to Reproduce
Create some instance
gcloud compute instance move it to another zone
(optional) Correct zones in tfstate
terraform plan
Additional Context
References
The text was updated successfully, but these errors were encountered:
Cib0rg
changed the title
Terraform fail forces to recreate instance after gcloud compute instances move
Terraform forces to recreate instance after gcloud compute instances move
Feb 25, 2019
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
locked and limited conversation to collaborators
Mar 29, 2020
This issue was closed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello.
We use terraform. We create large infrastructure with it and now trying to scale it down. Earlier we put instances in three zones and now we need only two zones. So I try to move instances between zones with gcloud compute instance move and terraform always try to recreate instance. Even after manual correction of tfstate i see following:
But when I try to take a look into state I see following:
Terraform Version
Terraform v0.11.11
Expected Behavior
Terraform should correctly pick up data from it state
Actual Behavior
Terraform don't pick up disk image data
Steps to Reproduce
Additional Context
References
The text was updated successfully, but these errors were encountered: