Skip to content

Commit

Permalink
Replace docs for append with merge
Browse files Browse the repository at this point in the history
The `append` field is not supported in Ignition config spec v3 anymore.

Fixes  hashicorp#7
  • Loading branch information
LorbusChris committed Mar 3, 2021
1 parent 41efdee commit 681cdd9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions website/docs/d/config.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Renders an ignition configuration as JSON. It contains all the disks, partition

```hcl
data "ignition_config" "example" {
systemd = [
data.ignition_systemd_unit.example.rendered,
]
systemd = [
data.ignition_systemd_unit.example.rendered,
]
}
```

Expand Down Expand Up @@ -44,12 +44,11 @@ The following arguments are supported:

* `groups` - (Optional) The list of groups to be added.

* `append` - (Optional) Any number of blocks with the configs to be appended to the current config.
* `merge` - (Optional) A list of the configs to be merged to the current config.

* `replace` - (Optional) A block with config that will replace the current.


The `append` and `replace` blocks supports:
The `merge` and `replace` blocks supports:

* `source` - (Required) The URL of the config. Supported schemes are http, https, tftp, s3, and data. When using http, it is advisable to use the verification option to ensure the contents haven't been modified.

Expand Down

0 comments on commit 681cdd9

Please sign in to comment.