AD Group Membership with Terraform»
Manage AD Group Membership in Microsoft Active Directory using the KopiCloud AD API Terraform Provider
Resources»
Add AD User to an AD Group»
Add an AD User to AD Group:
1 2 3 4 |
|
Returns Group Membership of AD User:
1 2 3 4 |
|
Schema
Required:
user_name
(String) AD Username
Optional:
group_name
(String) AD Group Name
Read-Only:
-
id
(String) The ID of this Resource -
result
(List of Objects) Single AD Group (see below for nested schema)
Data Sources»
List Group Membership of AD User»
List AD User Group Membership:
1 2 3 |
|
Show Group Membership:
1 2 3 4 |
|
Schema
Required:
user_name
(String) AD Username
Optional:
group_name
(String) AD Group Name
Read-Only:
-
id
(String) The ID of this Resource -
result
(List of Objects) Single AD Group (see below for nested schema)
Nested Schema for Result:»
Read-Only:
-
description
(String) AD Group Description -
email
(String) AD Group Email Address -
guid
(String) AD Group GUID -
name
(String) AD Group Name -
ou_path
(String) AD Group OU Path (Distinguished Name) -
scope
(String) AD Group Scope -
type
(String) AD Group Type
Notes»
Running this resource with terraform apply
will add or modify the Group Membership of an AD user and running terraform destroy
will remove the AD User from the AD Group.
Source Code»
Source code available here