The latest version, checked out from the git repository and built. Good to go!
From the post “Dipping a toe into Terraform“
Oh dear. I wanted the very latest version of Terraform, rather than the older version provided by OpenSuse. Be careful what you wish for! When they said latest version, they meant it! I ended up installing the very latest version 1.6 development version. That’s fine in and of itself. It compiles, it runs… but it won’t play nicely with the KVM provider I want to use for creating virtual machines. What I need is the latest production variant. But how do I get that?
When checking out a repository from Git, it is possible to specify a particular version or branch. By going to the directory where I cloned the repository and typing this:
git checkout v1.5.2
the codebase changes. I can confirm this by compiling the code as before and then checking the version:
blackdragon:~/terraform-latest # cat version/VERSION
1.5.2
Now I have the latest production version, I can see if it will now work with KVM