Skip to content

RbacResourceGroup

This resource will create Active Directory DomainLocal groups.

Specifications

TO BE GENERATED BY SCHEMA.

Group will be created in $AD_GROUP_RESOURCE_OU (specified in ResourceProvider config on $DEFAULT_AD_RESOURCEPROVIDER)

Modifiers

Name Type Mandatory Location Default Example
DEFAULT_AD_RESOURCEPROVIDER string true Variable - ad-foo-bar
AD_RBACRESOURCEGROUP_FORMAT string false ResourceProvider {0} .{{tenant.name}}-{{deployment.shortid}}-{0}-l
AD_GROUP_RESOURCE_OU string false ResourceProvider - OU=Resources,DC=foo,DC=bar

Usage

The group created by RbacResourceGroup resource can be referenced in the template using moustache format.

If we use the following modifiers:

AD_RBACRESOURCEGROUP_FORMAT: .prefix-{{deployment.shortid}}-{0}-l

And the following input:

- type: rbacResourceGroup
  name: rbacfoo
  groupName: foo
  members:
  - george.koumantarakis
Reference Type Output
{{rbacresourcegroup.rbacfoo}} string .prefix-0fa0bb-foo-l
{{rbacresourcegroup.rbacfoo.groupname}} string .prefix-0fa0bb-foo-l