Files
opentf/website/source/docs/providers/ignition/r/networkd_unit.html.md
Máximo Cuadros 85f0fba9f9 Ignition provider (#6189)
* providers: ignition, basic config, version and config

* providers: ignition, user and passwd example, general cache implementation

* vendor: Capture new dependency upstream-pkg

* providers: ignition ignition_user

* providers: ignition ignition_disk, ignition_group and ignition_raid

* providers: ignition_file and ignition_filesystem

* providers: ignition_systemd_unit and ignition_networkd_unit

* providers: ignition_config improvements

* vendor: Capture new dependency upstream-pkg

* providers: ignition main

* documentation: ignition provider

* providers: ignition minor changes

* providers: ignition, fix test

* fixing tests and latest versions
2017-01-03 11:29:14 +00:00

814 B

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
ignition Ignition: ignition_networkd_unit docs-ignition-resource-networkd-unit Describes the desired state of the networkd units.

ignition_networkd_unit

Describes the desired state of the networkd units.

Example Usage

resource "ignition_networkd_unit" "example" {
	name = "00-eth0.network"
	content = "[Match]\nName=eth0\n\n[Network]\nAddress=10.0.1.7"
}

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the file. This must be suffixed with a valid unit type (e.g. 00-eth0.network).

  • content - (Required) The contents of the networkd file.

Attributes Reference

The following attributes are exported:

  • id - ID used to reference this resource in ignition_config.