{"id":670,"date":"2023-07-23T17:14:04","date_gmt":"2023-07-23T16:14:04","guid":{"rendered":"http:\/\/darkandscary.co.uk\/?p=670"},"modified":"2023-07-23T17:14:04","modified_gmt":"2023-07-23T16:14:04","slug":"downgrading-the-upgrade-wait-what","status":"publish","type":"post","link":"https:\/\/darkandscary.co.uk\/?p=670","title":{"rendered":"Downgrading the Upgrade&#8230; Wait&#8230; What?"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>The latest version, checked out from the git repository and built. Good to go!<\/p><cite>From the post &#8220;<a href=\"http:\/\/darkandscary.co.uk\/wp-admin\/post.php?post=658&amp;action=edit\">Dipping a toe into Terraform<\/a>&#8220;<\/cite><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">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 <em>development<\/em> version. That&#8217;s fine in and of itself. It compiles, it runs&#8230; but it won&#8217;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?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git checkout v1.5.2<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">the codebase changes. I can confirm this by compiling the code as before and then checking the version:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>blackdragon:~\/terraform-latest # cat version\/VERSION \u00a0\n1.5.2<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now I have the latest production version, I can see if it will now work with KVM<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The latest version, checked out from the git repository and built. Good to go! From the post &#8220;Dipping a toe into Terraform&#8220; 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 &hellip; <a href=\"https:\/\/darkandscary.co.uk\/?p=670\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Downgrading the Upgrade&#8230; Wait&#8230; What?<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,26,21],"tags":[],"class_list":["post-670","post","type-post","status-publish","format-standard","hentry","category-linux","category-terraform","category-virtualisation"],"_links":{"self":[{"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=670"}],"version-history":[{"count":5,"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/670\/revisions"}],"predecessor-version":[{"id":680,"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/670\/revisions\/680"}],"wp:attachment":[{"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}