Configuration in this directory creates IAM group with users who are allowed to assume IAM roles and extended with IAM policies.
This is a combination of iam-group-with-assumable-roles-policy
and iam-group-with-policies
exampled.
To run this example you need to execute:
$ terraform init
$ terraform plan
$ terraform apply
Run terraform destroy
when you don't need these resources.
Name | Version |
---|---|
terraform | >= 1.0 |
No providers.
Name | Source | Version |
---|---|---|
iam_group_complete | ../../modules/iam-group-with-assumable-roles-policy | n/a |
iam_group_complete_with_custom_policy | ../../modules/iam-group-with-policies | n/a |
iam_user1 | ../../modules/iam-user | n/a |
iam_user2 | ../../modules/iam-user | n/a |
No resources.
No inputs.
Name | Description |
---|---|
assumable_roles | List of ARNs of IAM roles which members of IAM group can assume |
group_users | List of IAM users in IAM group |
policy_arn | Assume role policy ARN for IAM group |