Skip to content

Commit f117007

Browse files
authored
feat: Add arn of created group(s) to outputs (#128)
1 parent ab95969 commit f117007

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

modules/iam-group-with-assumable-roles-policy/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Creates IAM group with users who are allowed to assume IAM roles. This is typica
2828

2929
| Name | Description |
3030
|------|-------------|
31+
| group\_arn | IAM group arn |
3132
| group\_name | IAM group name |
3233
| this\_assumable\_roles | List of ARNs of IAM roles which members of IAM group can assume |
3334
| this\_group\_users | List of IAM users in IAM group |

modules/iam-group-with-assumable-roles-policy/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ output "group_name" {
1818
value = aws_iam_group.this.name
1919
}
2020

21+
output "group_arn" {
22+
description = "IAM group arn"
23+
value = aws_iam_group.this.arn
24+
}
25+

0 commit comments

Comments
 (0)