Terraform Module
GitLab Repository: https://gitlab.com/miquido/terraform/miquido-terraform-iam-group
module {
source = "git::ssh://[email protected]:miquido/terraform/terraform-iam-group.git?ref=master"
name = "ExampleGroup"
attach_policy_arns = []
assume_role_policies = [
{
AccountIDs = ["00000000", "11111111"]
RoleNames = ["*AdminAccess"]
},
{
AccountIDs = ["2222222"]
RoleNames = ["ReadOnlyAccess"]
}
]
}
Name | Version |
---|---|
terraform | >= 0.13 |
aws | ~> 3.0 |
Name | Version |
---|---|
aws | ~> 3.0 |
No modules.
Name | Type |
---|---|
aws_iam_group.main | resource |
aws_iam_group_policy_attachment.defaults | resource |
aws_iam_group_policy_attachment.permit-assume-role | resource |
aws_iam_policy.permit-assume-role | resource |
aws_iam_policy_document.permit-assume-role | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
assume_role_policies | List of IAM Policies with Assume Role permissions to create and attach to created IAM Group | list(object({ |
[] |
no |
attach_policy_arns | List of IAM Policy ARNs to attach to the created IAM Group | list(string) |
[] |
no |
name | The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-_.. Group names are not distinguished by case. For example, you cannot create groups named both ADMINS and admins . |
string |
n/a | yes |
path | Path in which to create the group and policies. | string |
"/users/" |
no |
Name | Description |
---|---|
group_arn | The ARN assigned by AWS for this group. |
group_id | The group's ID. |
group_name | The group's name. |
group_unique_id | The unique ID assigned by AWS for this group. |
Available targets:
help Help screen
help/all Display help for all targets
help/short This help short screen
lint Lint Terraform code
-
Make changes in terraform files
-
Regenerate documentation
bash <(git archive [email protected]:miquido/terraform/terraform-readme-update.git master update.sh | tar -xO)
-
Run lint
make lint
Copyright © 2017-2022 Miquido
Konrad Obal |
---|