diff --git a/CHANGES.md b/CHANGES.md index 44d94d91..72eb6dc4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,12 @@ Notable changes between releases. ## Latest +## v0.7.1 + +* Fix possible empty rendered Ignition ([#72](https://github.com/poseidon/terraform-provider-ct/pull/72)) + * Fix regression in rendering Fedora CoreOS v1.1.0 Configs with `snippets` and `pretty_print = false` +* Remove Terraform v0.12.x instructions + ## v0.7.0 * Add Fedora CoreOS Config v1.2.0 support ([#71](https://github.com/poseidon/terraform-provider-ct/pull/71)) diff --git a/README.md b/README.md index 4ad3bc00..2fd9fa43 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ terraform { required_providers { ct = { source = "poseidon/ct" - version = "0.7.0" + version = "0.7.1" } } } @@ -70,7 +70,7 @@ $ terraform init ## Requirements -* Terraform v0.12+ [installed](https://www.terraform.io/downloads.html) +* Terraform v0.13+ [installed](https://www.terraform.io/downloads.html) ## Versions @@ -80,7 +80,7 @@ Container Linux Configs render a fixed Ignition version, depending on the `terra | terraform-provider-ct | CLC to Ignition | FCC to Ignition | |-----------------------|---------------------|--------------------| -| 0.7.x | Renders 2.3.0 | FCC (1.0, 1.1, 1.2) -> Ignition (3.0, 3.1,3.2) | +| 0.7.x | Renders 2.3.0 | FCC (1.0, 1.1, 1.2) -> Ignition (3.0, 3.1, 3.2) | | 0.6.x | Renders 2.3.0 | FCC 1.0.0 -> Ignition 3.0.0, FCC 1.1.0 -> Ignition v3.1.0 | | 0.5.x | Renders 2.2.0 | FCC 1.0.0 -> Ignition 3.0.0 | | 0.4.x | Renders 2.2.0 | FCC 1.0.0 -> Ignition 3.0.0 | @@ -110,24 +110,3 @@ make update make vendor ``` -## Legacy Install - -For Terraform v0.12, add the `terraform-provider-ct` plugin binary for your system to the Terraform 3rd-party [plugin directory](https://www.terraform.io/docs/configuration/providers.html#third-party-plugins) `~/.terraform.d/plugins`. - -```sh -VERSION=v0.6.0 -wget https://github.com/poseidon/terraform-provider-ct/releases/download/$VERSION/terraform-provider-ct-$VERSION-linux-amd64.tar.gz -tar xzf terraform-provider-ct-$VERSION-linux-amd64.tar.gz -mv terraform-provider-ct-$VERSION-linux-amd64/terraform-provider-ct ~/.terraform.d/plugins/terraform-provider-ct_$VERSION -``` - -Terraform plugin binary names are versioned to allow for migrations of managed infrastructure. - -``` -$ tree ~/.terraform.d/ -/home/user/.terraform.d/ -└── plugins - ├── terraform-provider-ct_v0.6.0 - └── terraform-provider-ct_v0.5.1 -``` - diff --git a/docs/index.md b/docs/index.md index c9b2d051..59472072 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,6 +1,6 @@ # config-transpiler Provider -`terraform-provider-ct` allows Terraform to validate a [Container Linux Config](https://github.com/coreos/container-linux-config-transpiler/blob/master/doc/configuration.md) or [Fedora CoreOS Config](https://github.com/coreos/fcct/blob/master/docs/configuration-v1_1.md) and transpile it as [Ignition](https://github.com/coreos/ignition) for machine consumption. +`terraform-provider-ct` allows Terraform to validate a [Container Linux Config](https://github.com/coreos/container-linux-config-transpiler/blob/master/doc/configuration.md) or [Fedora CoreOS Config](https://github.com/coreos/fcct/blob/master/docs/configuration-v1_2.md) and transpile it as [Ignition](https://github.com/coreos/ignition) for machine consumption. ## Usage @@ -13,7 +13,7 @@ terraform { required_providers { ct = { source = "poseidon/ct" - version = "0.7.0" + version = "0.7.1" } } } diff --git a/examples/versions.tf b/examples/versions.tf index 05e2f261..2e24c79a 100644 --- a/examples/versions.tf +++ b/examples/versions.tf @@ -7,9 +7,9 @@ terraform { ct = { source = "poseidon/ct" - version = "~> 7.0.0" + version = "~> 0.7.1" #source = "terraform.localhost/poseidon/ct" - #version = "0.7.0" + #version = "0.7.1" } } }