From 11d98e3dea7ca8e41be157d21fe4769c31fe7570 Mon Sep 17 00:00:00 2001 From: Mads Hartmann Date: Fri, 20 Oct 2023 13:07:49 +0200 Subject: [PATCH] feat: Add the ARN of the OIDC provider as output (#38) --- outputs.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/outputs.tf b/outputs.tf index ec56701..1b51818 100644 --- a/outputs.tf +++ b/outputs.tf @@ -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 : "" +}