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

Pro tip: Use the <- and -> arrow keys to move back and forward.

Edit this page

See a typo or an error? You can improve this page. This website is available on GitHub and contributions are encouraged and welcomed. We love pull requests from you!