user.group

Group renders group data

Example

# create a group, only works on linux
user.group "group" {
  name = "test"
}

Parameters

  • gid (optional uint32)

Gid is the group gid.

  • name (required string)

Name is the group name.

  • new_name (string)

NewName is used when modifying a group. The group Name will be changed to NewName.

  • state (State)

Valid values: present and absent

State is whether the group should be present. The default value is present.