Skip to content

Commit

Permalink
Merge pull request #67 from ricoli/iam-role-name-output
Browse files Browse the repository at this point in the history
add an output for the IAM role's name
  • Loading branch information
eeeady authored Jun 11, 2020
2 parents 8ab255a + 7a2f839 commit 0eb7d84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ module "aws_config" {
| Name | Description |
|------|-------------|
| aws\_config\_role\_arn | The ARN of the AWS config role. |
| aws\_config\_role\_name | The name of the IAM role used by AWS config |
| required\_tags\_rule\_arn | The ARN of the required-tags config rule. |

<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ output "aws_config_role_arn" {
description = "The ARN of the AWS config role."
value = aws_iam_role.main.arn
}

output "aws_config_role_name" {
description = "The name of the IAM role used by AWS config"
value = aws_iam_role.main.name
}

0 comments on commit 0eb7d84

Please sign in to comment.