https://github.com/govtechsg/terraform-iam-group-gcc
https://github.com/govtechsg/terraform-iam-group-gcc
terraform
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/govtechsg/terraform-iam-group-gcc
- Owner: GovTechSG
- License: mit
- Created: 2021-10-23T08:15:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-01T21:02:37.000Z (over 3 years ago)
- Last Synced: 2025-01-03T03:12:57.617Z (over 1 year ago)
- Topics: terraform
- Language: HCL
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 57
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IAM Group GCC
```hcl
module 'group' {
# ensure the roles have already been created at ../../roles
role_names = [
"my-role"
]
# ensure the users have already been created at ../../users
usernames = [
"user1",
]
# > DO NOT TOUCH
name = "name of group"
description = "add monitors/read-only-access scoped users to this group"
# / DO NOT TOUCH
}
## Requirements
No requirements.
## Providers
| Name | Version |
|------|---------|
| aws | n/a |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| aws\_region | aws region | `string` | n/a | yes |
| name | name of the group in aws console | `string` | n/a | yes |
| path | optional path to the group | `string` | `"/"` | no |
| role\_names | list of role names (including path if applicable) that this group can assume | `list(string)` | n/a | yes |
| usernames | list of user usernames | `list(string)` | n/a | yes |
## Outputs
| Name | Description |
|------|-------------|
| arn | arn of the group |
| id | id of the group |
| membership\_name | name of the group membership |
| name | name of the group |
| path | path to the group |
| policy | json-formatted policy of the group |
| policy\_id | id of the policy of the group |
| policy\_name | name of the policy of the group |
| unique\_id | unique id of the group |
| usernames | usernames of users associated with this group |