Skip to content

Commit

Permalink
Remove deprecated platform field from ct_config
Browse files Browse the repository at this point in the history
* Remove the `platform` field, which was deprecated in v0.12.0
  • Loading branch information
dghubble committed Apr 1, 2023
1 parent 5e12faf commit 3d57448
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
5 changes: 4 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ Notable changes between releases.

## Latest

## v0.13.0

* Update the target stable Ignition spec version to v3.4.0 ([#156](https://github.com/poseidon/terraform-provider-ct/pull/156))
* Parse Butane Configs to Ignition v3.4.0
* Parse Butane Configs to Ignition v3.4.0 ([#159](https://github.com/poseidon/terraform-provider-ct/pull/159))
* Remove deprecated `platform` field
* Move implementation to an `internal` package ([#157](https://github.com/poseidon/terraform-provider-ct/pull/157))

## v0.12.0
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ terraform {
required_providers {
ct = {
source = "poseidon/ct"
version = "0.12.0"
version = "0.13.0"
}
}
}
Expand All @@ -28,7 +28,7 @@ Define a Butane config for Fedora CoreOS or Flatcar Linux:

```yaml
variant: fcos
version: 1.4.0
version: 1.5.0
passwd:
users:
- name: core
Expand All @@ -38,7 +38,7 @@ passwd:

```yaml
variant: flatcar
version: 1.0.0
version: 1.1.0
passwd:
users:
- name: core
Expand Down
2 changes: 1 addition & 1 deletion examples/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ terraform {
local = "~> 1.2"
ct = {
source = "poseidon/ct"
version = "~> 0.12.0"
version = "~> 0.13.0"
#source = "terraform.localhost/poseidon/ct"
#version = "0.12.0"
}
Expand Down
7 changes: 0 additions & 7 deletions internal/data_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ func DatasourceConfig() *schema.Resource {
Type: schema.TypeString,
Required: true,
},
"platform": {
Type: schema.TypeString,
Optional: true,
Default: "",
Deprecated: "platform is no longer used",
ForceNew: true,
},
"snippets": {
Type: schema.TypeList,
Elem: &schema.Schema{
Expand Down

0 comments on commit 3d57448

Please sign in to comment.