Skip to content

Commit 158d8a9

Browse files
leslitagorditaGuaris
authored andcommitted
Add note about Terraform version compatibility. (#2613)
Terraform's Linode Provider now requires Terraform version 12.0+
1 parent 4f21223 commit 158d8a9

File tree

2 files changed

+14
-10
lines changed
  • docs/applications
    • configuration-management/how-to-build-your-infrastructure-using-terraform-and-linode
    • containers/how-to-deploy-kubernetes-on-linode-with-k8s-alpha-cli

2 files changed

+14
-10
lines changed

docs/applications/configuration-management/how-to-build-your-infrastructure-using-terraform-and-linode/index.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ contributor:
1818

1919
Infrastructure as code (IaC) is a development and operations methodology that allows server deployments and software configuration to be represented as code. This methodology reduces the chance for human error, makes complex systems more manageable, eases collaboration on systems engineering projects, and offers a number of other benefits.
2020

21-
Terraform is an IaC tool that focuses on creating, modifying, and destroying servers, instead of managing the software on those servers. Terraform offers plugins to interface with different hosting providers, and an official Linode plugin is available. This guide will show how to get started with Terraform and Linode.
21+
Terraform is an IaC tool that focuses on creating, modifying, and destroying servers, instead of managing the software on those servers. Terraform offers plugins to interface with different hosting providers, and an [official Linode plugin](https://www.terraform.io/docs/providers/linode/index.html) is available. This guide will show how to get started with Terraform and Linode.
2222

2323
Linodes created with Terraform can be further configured with container systems like Docker, or with configuration management software like Salt, Puppet, Ansible, or Chef.
2424

@@ -42,30 +42,30 @@ Any Personal Access Tokens generated from the previous Linode Manager are API v3
4242

4343
## Install Terraform
4444

45-
If you're using macOS, you can install Terraform via [Homebrew](https://brew.sh/) by running the following command:
45+
The installation steps in this section are for Linux operating systems. To install Terraform on a different operating system, like macOS, see [Terraform's downloads](https://www.terraform.io/downloads.html) page. Once installed, skip to [Building with the Terraform Provider](#building-with-the-linode-provider).
4646

47-
brew install terraform
48-
49-
You can then skip to [Building with the Terraform Provider](#building-with-the-linode-provider"). If you are using Linux, or would rather not install Terraform with Homebrew, follow the instructions below.
47+
{{< note >}}
48+
The Terraform Provider for Linode requires [Terraform version 0.12.0+](https://www.hashicorp.com/blog/announcing-terraform-0-12).
49+
{{</ note >}}
5050

5151
1. Make a Terraform project directory in your home directory and then navigate to it:
5252

5353
mkdir ~/terraform
5454
cd ~/terraform
5555

56-
2. Download the following files from [Terraform's website](https://www.terraform.io/downloads.html). Example `wget` commands are listed using the latest version available at time of publishing (0.11.9). You should inspect the links on the download page to see if a newer version is available and update the `wget` commands to use those URLs instead:
56+
2. Download the following files from [Terraform's website](https://www.terraform.io/downloads.html). Example `wget` commands are listed using the latest version available at time of publishing (0.12.5). You should inspect the links on the download page to see if a newer version is available and update the `wget` commands to use those URLs instead:
5757

5858
- The 64-bit Linux `.zip` archive
5959

60-
wget https://releases.hashicorp.com/terraform/0.11.9/terraform_0.11.9_linux_amd64.zip
60+
wget https://releases.hashicorp.com/terraform/0.12.5/terraform_0.12.5_linux_amd64.zip
6161

6262
- The SHA256 checksums file
6363

64-
wget https://releases.hashicorp.com/terraform/0.11.9/terraform_0.11.9_SHA256SUMS
64+
wget https://releases.hashicorp.com/terraform/0.12.5/terraform_0.12.5_SHA256SUMS
6565

6666
- The checksum signature file
6767

68-
wget https://releases.hashicorp.com/terraform/0.11.9/terraform_0.11.9_SHA256SUMS.sig
68+
wget https://releases.hashicorp.com/terraform/0.12.5/terraform_0.12.5_SHA256SUMS.sig
6969

7070

7171
### Verify the Download
@@ -112,7 +112,7 @@ Primary key fingerprint: 91A6 E7F8 5D05 C656 30BE F189 5185 2D87 348F FC4C
112112
The output should show the file's name as given in the `terraform*SHA256SUMS` file:
113113

114114
{{< output >}}
115-
terraform_0.11.9_linux_amd64.zip: OK
115+
terraform_0.12.5_linux_amd64.zip: OK
116116
{{< /output >}}
117117

118118
### Configure the Terraform Environment

docs/applications/containers/how-to-deploy-kubernetes-on-linode-with-k8s-alpha-cli/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ The k8s-alpha CLI is bundled with the Linode CLI, and using it requires the inst
7070

7171
- [Terraform](#install-terraform): The k8s-alpha CLI creates clusters by defining a resource *plan* in Terraform and then having Terraform create those resources. If you're interested in how Terraform works, you can review our [Beginner's Guide to Terraform](/docs/applications/configuration-management/beginners-guide-to-terraform/), but doing so is not required to use the k8s-alpha CLI.
7272

73+
{{< note >}}
74+
The k8s-alpha CLI requires [Terraform version 0.12.0+](https://www.hashicorp.com/blog/announcing-terraform-0-12).
75+
{{</ note >}}
76+
7377
- [kubectl](#install-kubectl): kubectl is the client software for Kubernetes, and it is used to interact with your Kubernetes cluster's API.
7478

7579
- [SSH agent](#configure-your-ssh-agent): Terraform will rely on public-key authentication to connect to the Linodes that it creates, and you will need to configure your SSH agent on your computer with the keys that Terraform should use.

0 commit comments

Comments
 (0)