Skip to content

Commit 11d98e3

Browse files
feat: Add the ARN of the OIDC provider as output (#38)
1 parent b9e1ea7 commit 11d98e3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

outputs.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,9 @@ output "iam_role_name" {
2323
description = "Name of the IAM role."
2424
value = var.enabled ? aws_iam_role.github[0].name : ""
2525
}
26+
27+
output "oidc_provider_arn" {
28+
depends_on = [aws_iam_openid_connect_provider.github]
29+
description = "ARN of the OIDC provider."
30+
value = var.enabled ? aws_iam_openid_connect_provider.github[0].arn : ""
31+
}

0 commit comments

Comments
 (0)