github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/website/source/docs/providers/ignition/d/networkd_unit.html.md (about) 1 --- 2 layout: "ignition" 3 page_title: "Ignition: ignition_networkd_unit" 4 sidebar_current: "docs-ignition-datasource-networkd-unit" 5 description: |- 6 Describes the desired state of the networkd units. 7 --- 8 9 # ignition\_networkd\_unit 10 11 Describes the desired state of the networkd units. 12 13 ## Example Usage 14 15 ```hcl 16 data "ignition_networkd_unit" "example" { 17 name = "00-eth0.network" 18 content = "[Match]\nName=eth0\n\n[Network]\nAddress=10.0.1.7" 19 } 20 ``` 21 22 ## Argument Reference 23 24 The following arguments are supported: 25 26 * `name` - (Required) The name of the file. This must be suffixed with a valid unit type (e.g. _00-eth0.network_). 27 28 * `content` - (Required) The contents of the networkd file. 29 30 ## Attributes Reference 31 32 The following attributes are exported: 33 34 * `id` - ID used to reference this resource in _ignition_config_.