diff --git a/CHANGES.md b/CHANGES.md index d745f26da..295771b10 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 @@ -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 diff --git a/docs/aws.md b/docs/aws.md index 0905bf4f4..a8b9df437 100644 --- a/docs/aws.md +++ b/docs/aws.md @@ -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`. diff --git a/docs/digital-ocean.md b/docs/digital-ocean.md index 9e3e6e2dc..c4f0593a4 100644 --- a/docs/digital-ocean.md +++ b/docs/digital-ocean.md @@ -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`. diff --git a/docs/google-cloud.md b/docs/google-cloud.md index 57ee43f44..13f6f05f4 100644 --- a/docs/google-cloud.md +++ b/docs/google-cloud.md @@ -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`. diff --git a/docs/topics/maintenance.md b/docs/topics/maintenance.md index db5d3fa30..e12b0586b 100644 --- a/docs/topics/maintenance.md +++ b/docs/topics/maintenance.md @@ -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.