Skip to content

Commit

Permalink
feat: Add the ARN of the OIDC provider as output (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
mads-hartmann authored Oct 20, 2023
1 parent b9e1ea7 commit 11d98e3
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 @@ -23,3 +23,9 @@ output "iam_role_name" {
description = "Name of the IAM role."
value = var.enabled ? aws_iam_role.github[0].name : ""
}

output "oidc_provider_arn" {
depends_on = [aws_iam_openid_connect_provider.github]
description = "ARN of the OIDC provider."
value = var.enabled ? aws_iam_openid_connect_provider.github[0].arn : ""
}

0 comments on commit 11d98e3

Please sign in to comment.