2017-01-03 12:29:14 +01:00
|
|
|
---
|
|
|
|
layout: "ignition"
|
|
|
|
page_title: "Ignition: ignition_group"
|
2017-03-06 13:23:04 +01:00
|
|
|
sidebar_current: "docs-ignition-datasource-group"
|
2017-01-03 12:29:14 +01:00
|
|
|
description: |-
|
|
|
|
Describes the desired group additions to the passwd database.
|
|
|
|
---
|
|
|
|
|
|
|
|
# ignition\_group
|
|
|
|
|
|
|
|
Describes the desired group additions to the passwd database.
|
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
|
2017-04-17 12:17:54 +02:00
|
|
|
```hcl
|
2017-03-06 13:23:04 +01:00
|
|
|
data "ignition_group" "foo" {
|
2017-01-03 12:29:14 +01:00
|
|
|
name = "foo"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Argument Reference
|
|
|
|
|
|
|
|
The following arguments are supported:
|
|
|
|
|
|
|
|
* `name` - (Required) The groupname for the account.
|
|
|
|
|
|
|
|
* `password_hash` - (Optional) The encrypted password for the account.
|
|
|
|
|
|
|
|
* `gid` - (Optional) The group ID of the new account.
|
|
|
|
|
|
|
|
## Attributes Reference
|
|
|
|
|
|
|
|
The following attributes are exported:
|
|
|
|
|
|
|
|
* `id` - ID used to reference this resource in _ignition_config_.
|