Skip to content

Commit ca33deb

Browse files
Merge pull request #27 from Snowflake-Labs/oidc-outputs-state-file
Add EKS OIDC provider outputs
2 parents 4b18b44 + 1020781 commit ca33deb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

outputs.tf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,17 @@ output "cluster_logs_bucket" {
4646
description = "Bucket for cluster logs."
4747
value = var.create_logs_bucket == true ? aws_s3_bucket.logs_bucket[0].id : null
4848
}
49+
50+
################################################################################
51+
# IRSA
52+
################################################################################
53+
54+
output "oidc_url" {
55+
description = "The OpenID Connect identity provider (issuer URL without leading `https://`)"
56+
value = module.eks.oidc_provider
57+
}
58+
59+
output "oidc_provider_arn" {
60+
description = "The ARN of the OIDC Provider if `enable_irsa = true`"
61+
value = module.eks.oidc_provider_arn
62+
}

0 commit comments

Comments
 (0)