0.14.1
...
data "terraform_remote_state" "remote" {
backend = "remote"
config = {
organization = "organisation"
workspaces = {
name = "workspace1"
}
}
}
Ideally, check the remote state file terraform_version field instead of execution mode remote version
Error: Error loading state error
on data.tf line 81, in data "terraform_remote_state" "organization":
81: backend = "remote"
error loading the remote state: Remote workspace Terraform version "latest"
does not match local Terraform version "0.14.1"
Thanks for reporting this. A fix is forthcoming in #27197.
Thanks for reporting this. A fix is forthcoming in #27197.
Thanks alisdair any chance for a quick 0.14.2 release with this fix?
Yes. I'm working on it right now.
@e-moshaya Terraform 0.14.2 is out now: https://releases.hashicorp.com/terraform/0.14.2/
I'd appreciate it if you could verify that this fixes the issue for you. If not, please let me know and we can reopen this ticket and investigate further.
thanks, @alisdair I can confirm 0.14.2 fixes this issue
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.
Most helpful comment
thanks, @alisdair I can confirm 0.14.2 fixes this issue