You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ravi 5982b4ade5 change group name in example 1 month ago
examples change group name in example 1 month ago
.gitignore initial commit 4 months ago
.pre-commit-config.yaml pre-commit 1 month ago
Jenkinsfile add jenkinsfile 4 months ago
LICENSE initial commit 4 months ago
README.md pre-commit 1 month ago
main.tf fix typos 3 months ago
outputs.tf pre-commit 1 month ago
variables.tf pre-commit 1 month ago
versions.tf remove azurerm provider 4 months ago

README.md

terraform-module-azuread-group

Usage

See examples folders for usage of this module.

Requirements

Name Version
terraform >= 0.12
azuread >= 0.7.0

Providers

Name Version
azuread >= 0.7.0

Inputs

Name Description Type Default Required
ad_group_enabled Bollean flag whcih describes whether or not to enable the AD group. bool false no
ad_group_members A set of members who should be present in this Group. Supported Object types are Users, Groups or Service Principals. NOTE: Do not use azuread_group_member at the same time as the members argument. list(list(string))
[
null
]
no
ad_group_names The list of names of AD groups. changing this will force to create a new resource. NOTE: Group names are not unique within Azure Active Directory. The value is REQUIRED list(string) [] no
ad_group_owners A set of owners who own this Group. Supported Object types are Users or Service Principals. NOTE: Do not use azuread_group_owner at the same time as the owners argument. list(list(string))
[
null
]
no
ad_user_account_enabled Boolean flag list which describes whether the user account is enabled or disabled. Default to true list(bool)
[
true
]
no
ad_user_display_names The list of names to display in the address book for the user. list(string)
[
““
]
no
ad_user_end_indexes The end index of the AD user user list. The end index is exclusive. list(number) [] no
ad_user_force_password_change Boolean flag list which describes whether the user is forced to change the password during the next sign-in. Defaults to false. list(string)
[
false
]
no
ad_user_mail_nicknames The list of mail alias for the user. Defaults to the user name part of the user principal name. list(string)
[
““
]
no
ad_user_passwords The passwords for the User. The password must satisfy minimum requirements as specified by the password policy. The maximum length is 256 characters. list(string)
[
““
]
no
ad_user_principal_names The list of User Principal Name of the Azure AD User. list(string)
[
““
]
no
ad_user_start_indexes The start index of the AD user list.The start index is inclusive. list(number)
[
0
]
no
ad_user_usage_locations The list of usage location of the User. Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. The usage location is a two letter country code (ISO standard 3166). Examples include: NO, JP, and GB. Cannot be reset to null once set. list(string)
[
“CA"
]
no
ad_users_enabled Boolean flag whcih describes whether or not to enabled the AD user resource. bool false no
enabled Whether or not to enable the module. bool true no

Outputs

Name Description
ad_group_ids The object IDs of the groups.
ad_group_members The members of the group.
ad_group_names The display names of the groups.
ad_group_owners The owners of the group.
ad_user_ids The IDs of the users.
ad_user_mail The primary email address of the Azure AD user.
ad_user_object_ids The object IDS of the users.
group_id_map The map of group name and their IDs.