Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 7718719

Browse files
Mike McGirrketzacoatl
authored andcommitted
Add role ARN to the outputs of the iam-instance-profile module.
1 parent 1773d42 commit 7718719

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
### Modules
66

7+
* `iam-instance-profile`: Add role ouput for IAM instance profile module.
8+
79
### Examples
810

911

modules/iam-instance-profile/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ output "iam_role_name" {
3232
value = aws_iam_role.role.name
3333
}
3434

35+
output "iam_role_arn" {
36+
value = aws_iam_role.role.arn
37+
}
38+
3539
output "iam_profile_id" {
3640
value = aws_iam_instance_profile.profile.id
3741
}

0 commit comments

Comments
 (0)