Skip to content

Commit

Permalink
Recommend installing terraform-provider-ct v0.2.1
Browse files Browse the repository at this point in the history
* Upcoming releases may begin to use features that require
the `terraform-provider-ct` plugin v0.2.1
* New users should use `terraform-provider-ct` v0.2.1. Existing
users can safely drop-in replace their v0.2.0 plugin with v0.2.1
as well (location referenced in ~/.terraformrc).
* See #145
  • Loading branch information
dghubble committed Feb 26, 2018
1 parent 3d9683b commit 983c7aa
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 10 deletions.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Notable changes between versions.

* Upgrade etcd from v3.2.15 to v3.3.1
* Use kubernetes-incubator/bootkube v0.10.0
* [Recommend](https://github.com/poseidon/typhoon/blob/master/docs/topics/maintenance.md#terraform-provider-ct-v021) updating `terraform-provider-ct` plugin from v0.2.0 to [v0.2.1](https://github.com/coreos/terraform-provider-ct/releases/tag/v0.2.1) (action recommended)

#### AWS

Expand Down Expand Up @@ -65,7 +66,7 @@ Notable changes between versions.
* Add Terraform v0.11.x support
* Add explicit "providers" section to modules for Terraform v0.11.x
* Retain support for Terraform v0.10.4+
* Add [migration guide](https://github.com/poseidon/typhoon/blob/master/docs/topics/maintenance.md) from Terraform v0.10.x to v0.11.x (**action required!**)
* Add [migration guide](https://github.com/poseidon/typhoon/blob/master/docs/topics/maintenance.md#terraform-v011x) from Terraform v0.10.x to v0.11.x (**action required!**)
* Update etcd from 3.2.13 to 3.2.14
* Update calico from 2.6.5 to 2.6.6
* Update kube-dns from v1.14.7 to v1.14.8
Expand Down
6 changes: 3 additions & 3 deletions docs/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Terraform v0.11.1
Add the [terraform-provider-ct](https://github.com/coreos/terraform-provider-ct) plugin binary for your system.

```sh
wget https://github.com/coreos/terraform-provider-ct/releases/download/v0.2.0/terraform-provider-ct-v0.2.0-linux-amd64.tar.gz
tar xzf terraform-provider-ct-v0.2.0-linux-amd64.tar.gz
sudo mv terraform-provider-ct-v0.2.0-linux-amd64/terraform-provider-ct /usr/local/bin/
wget https://github.com/coreos/terraform-provider-ct/releases/download/v0.2.1/terraform-provider-ct-v0.2.1-linux-amd64.tar.gz
tar xzf terraform-provider-ct-v0.2.1-linux-amd64.tar.gz
sudo mv terraform-provider-ct-v0.2.1-linux-amd64/terraform-provider-ct /usr/local/bin/
```

Add the plugin to your `~/.terraformrc`.
Expand Down
6 changes: 3 additions & 3 deletions docs/digital-ocean.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Terraform v0.11.1
Add the [terraform-provider-ct](https://github.com/coreos/terraform-provider-ct) plugin binary for your system.

```sh
wget https://github.com/coreos/terraform-provider-ct/releases/download/v0.2.0/terraform-provider-ct-v0.2.0-linux-amd64.tar.gz
tar xzf terraform-provider-ct-v0.2.0-linux-amd64.tar.gz
sudo mv terraform-provider-ct-v0.2.0-linux-amd64/terraform-provider-ct /usr/local/bin/
wget https://github.com/coreos/terraform-provider-ct/releases/download/v0.2.1/terraform-provider-ct-v0.2.1-linux-amd64.tar.gz
tar xzf terraform-provider-ct-v0.2.1-linux-amd64.tar.gz
sudo mv terraform-provider-ct-v0.2.1-linux-amd64/terraform-provider-ct /usr/local/bin/
```

Add the plugin to your `~/.terraformrc`.
Expand Down
6 changes: 3 additions & 3 deletions docs/google-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Terraform v0.11.1
Add the [terraform-provider-ct](https://github.com/coreos/terraform-provider-ct) plugin binary for your system.

```sh
wget https://github.com/coreos/terraform-provider-ct/releases/download/v0.2.0/terraform-provider-ct-v0.2.0-linux-amd64.tar.gz
tar xzf terraform-provider-ct-v0.2.0-linux-amd64.tar.gz
sudo mv terraform-provider-ct-v0.2.0-linux-amd64/terraform-provider-ct /usr/local/bin/
wget https://github.com/coreos/terraform-provider-ct/releases/download/v0.2.1/terraform-provider-ct-v0.2.1-linux-amd64.tar.gz
tar xzf terraform-provider-ct-v0.2.1-linux-amd64.tar.gz
sudo mv terraform-provider-ct-v0.2.1-linux-amd64/terraform-provider-ct /usr/local/bin/
```

Add the plugin to your `~/.terraformrc`.
Expand Down
35 changes: 35 additions & 0 deletions docs/topics/maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,38 @@ Re-run `terraform plan`. Plan will claim there are no changes to apply. Run `ter
### Verify

You should now be able to run `terraform plan` without errors. When you choose, you may comment or delete a module from Terraform configs and `terraform apply` should destroy the cluster correctly.

## terraform-provider-ct v0.2.1

Typhoon recommends updating the [terraform-provider-ct](https://github.com/coreos/terraform-provider-ct) plugin installed on your system from v0.2.0 to [v0.2.1](https://github.com/coreos/terraform-provider-ct/releases/tag/v0.2.1). The release contains an important feature that will be used in future Typhoon releases.

Check your `~/.terraformrc` to find your current `terraform-provider-ct` plugin.

```
providers {
ct = "/usr/local/bin/terraform-provider-ct"
}
```

Make a backup copy. Install `terraform-provider-ct` v0.2.1.

```sh
wget https://github.com/coreos/terraform-provider-ct/releases/download/v0.2.1/terraform-provider-ct-v0.2.1-linux-amd64.tar.gz
tar xzf terraform-provider-ct-v0.2.1-linux-amd64.tar.gz
sudo mv terraform-provider-ct-v0.2.1-linux-amd64/terraform-provider-ct /usr/local/bin/
```

Re-initialize Terraform configs which have Typhoon cluster resources.

```
cd clusters
terraform init
```

Verify Terraform does not produce a diff related to Container Linux provisioning.

```
terraform plan
```

You're prepared for future Typhoon releases.

0 comments on commit 983c7aa

Please sign in to comment.