Skip to content

the shipped terraform is not used when the installer is called via PATH lookup #210

Closed
@steveej

Description

@steveej

I ran into this issue trying to destroy a libvirt cluster:

$ tectonic destroy --dir=test1

Error:
Terraform doesn't allow running any operations against a state
that was written by a future Terraform version. The state is
reporting it is written by Terraform '0.11.7'

Please run at least that version of Terraform to continue.

Between create and destroy, I have installed terraform to my PATH.
I suspect there is something odd in the logic to find the terraform binary, as removing it from PATH makes the error go away and succeed in destroying the cluster.

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions