Skip to content

Commit

Permalink
feat: Add IAM role name to the outputs (#37)
Browse files Browse the repository at this point in the history
Resolves #36
  • Loading branch information
AlexanderStout authored Jul 28, 2023
1 parent d5f4644 commit 2ef5c27
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ output "iam_role_arn" {
description = "ARN of the IAM role."
value = var.enabled ? aws_iam_role.github[0].arn : ""
}

output "iam_role_name" {
depends_on = [aws_iam_role.github]
description = "Name of the IAM role."
value = var.enabled ? aws_iam_role.github[0].name : ""
}

0 comments on commit 2ef5c27

Please sign in to comment.