Skip to content

Commit 3d57448

Browse files
committed
Remove deprecated platform field from ct_config
* Remove the `platform` field, which was deprecated in v0.12.0
1 parent 5e12faf commit 3d57448

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

CHANGES.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ Notable changes between releases.
44

55
## Latest
66

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

1114
## v0.12.0

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ terraform {
1818
required_providers {
1919
ct = {
2020
source = "poseidon/ct"
21-
version = "0.12.0"
21+
version = "0.13.0"
2222
}
2323
}
2424
}
@@ -28,7 +28,7 @@ Define a Butane config for Fedora CoreOS or Flatcar Linux:
2828

2929
```yaml
3030
variant: fcos
31-
version: 1.4.0
31+
version: 1.5.0
3232
passwd:
3333
users:
3434
- name: core
@@ -38,7 +38,7 @@ passwd:
3838
3939
```yaml
4040
variant: flatcar
41-
version: 1.0.0
41+
version: 1.1.0
4242
passwd:
4343
users:
4444
- name: core

examples/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ terraform {
55
local = "~> 1.2"
66
ct = {
77
source = "poseidon/ct"
8-
version = "~> 0.12.0"
8+
version = "~> 0.13.0"
99
#source = "terraform.localhost/poseidon/ct"
1010
#version = "0.12.0"
1111
}

internal/data_config.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ func DatasourceConfig() *schema.Resource {
2222
Type: schema.TypeString,
2323
Required: true,
2424
},
25-
"platform": {
26-
Type: schema.TypeString,
27-
Optional: true,
28-
Default: "",
29-
Deprecated: "platform is no longer used",
30-
ForceNew: true,
31-
},
3225
"snippets": {
3326
Type: schema.TypeList,
3427
Elem: &schema.Schema{

0 commit comments

Comments
 (0)