group

You can use the groups key to create Linux/UNIX groups and to assign group IDs. The group method maps to the AWS::CloudFormation::Init groups section.

Example

group("groupOne")
group("groupTwo",
  gid: 45,
)

Generates:

AWS::CloudFormation::Init:
  configSets:
    default:
    - main
  main:
    groups:
      groupOne: {}
      groupTwo:
        gid: 45

Back to DSL Docs