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
If I have a remote workspace configured with a specific version of Terraform, ex. 0.14.3, and I am trying to move from remote execution back to local execution, the Remote Version Check won’t let me do so, even if the upgrade is a minor version.
Terraform Version
0.14.4
0.15-dev
Terraform Configuration Files
This issue centers around Terraform’s behaviour when you decide to remove the remote backend. In other words reconfiguring
Remote version check indicates that because my workspace is running 0.14.3 and my local version is 0.14.4 I cannot reconfigure the backend from remote to local.
Steps to Reproduce
Comment or remove the remote backend from your Terraform configuration
terraform init
Additional Context
I tested the behaviour against the HEAD of the main branch and the issue persists so I filed this as @alisdair suggested. It doesn’t strike me as high priority but it was important to document.
Workarounds
A couple of possible workarounds if you’ve arrived here with the same issue:
The easy path is to modify your workspace settings to match the version of Terraform you’re running. This should be done carefully depending on the gap or discrepancy between the workspaces, but largely should be ok as terraform init shouldn’t touch the state file.
Use something like TFSwitch to quickly change to your local version of Terraform to a version of Terraform matching the remote workspace and move along home.
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 as resolved and limited conversation to collaborators
Feb 20, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary
If I have a remote workspace configured with a specific version of Terraform, ex.
0.14.3
, and I am trying to move from remote execution back to local execution, the Remote Version Check won’t let me do so, even if the upgrade is a minor version.Terraform Version
Terraform Configuration Files
This issue centers around Terraform’s behaviour when you decide to remove the remote backend. In other words reconfiguring
Actual Behavior
Remote version check indicates that because my workspace is running
0.14.3
and my local version is0.14.4
I cannot reconfigure the backend fromremote
tolocal
.Steps to Reproduce
terraform init
Additional Context
I tested the behaviour against the
HEAD
of the main branch and the issue persists so I filed this as @alisdair suggested. It doesn’t strike me as high priority but it was important to document.Workarounds
A couple of possible workarounds if you’ve arrived here with the same issue:
terraform init
shouldn’t touch the state file.References
The text was updated successfully, but these errors were encountered: