mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-17 06:19:38 +02:00
output empty string when cluster identity is empty (#516)
This commit is contained in:
committed by
Max Williams
parent
bf8c324761
commit
b6125b8501
@@ -45,7 +45,7 @@ output "cluster_iam_role_arn" {
|
|||||||
|
|
||||||
output "cluster_oidc_issuer_url" {
|
output "cluster_oidc_issuer_url" {
|
||||||
description = "The URL on the EKS cluster OIDC Issuer"
|
description = "The URL on the EKS cluster OIDC Issuer"
|
||||||
value = aws_eks_cluster.this.identity.0.oidc.0.issuer
|
value = concat(aws_eks_cluster.this.identity.*.oidc.0.issuer, [""])[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
output "cloudwatch_log_group_name" {
|
output "cloudwatch_log_group_name" {
|
||||||
|
|||||||
Reference in New Issue
Block a user