Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zachreborn committed Mar 15, 2024
1 parent 57ea3c0 commit 378cb76
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions modules/aws/iam/group/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<h3 align="center">IAM Group Module</h3>
<p align="center">
This module sets up an IAM group.
This module sets up an IAM group and the IAM policy attachments to the group.
<br />
<a href="https://github.com/zachreborn/terraform-modules"><strong>Explore the docs »</strong></a>
<br />
Expand Down Expand Up @@ -64,10 +64,23 @@
## Usage

```
module test_user {
source = "github.com/zachreborn/terraform-modules//modules/aws/iam/group"
module groups {
source = "github.com/zachreborn/terraform-modules//modules/aws/iam/group"
name = "test_user"
groups = {
"group1" = {
policy_arns = [
"arn:aws:iam::aws:policy/AmazonS3FullAccess",
"arn:aws:iam::aws:policy/AmazonEC2FullAccess"
]
}
"group2" = {
policy_arns = [
"arn:aws:iam::aws:policy/AmazonS3FullAccess",
"arn:aws:iam::aws:policy/AmazonEC2FullAccess"
]
}
}
}
```

Expand Down

0 comments on commit 378cb76

Please sign in to comment.