Skip to content

Commit

Permalink
output empty string when cluster identity is empty (terraform-aws-mod…
Browse files Browse the repository at this point in the history
  • Loading branch information
Thierno IB. BARRY authored and max-rocket-internet committed Sep 18, 2019
1 parent bf8c324 commit b6125b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ output "cluster_iam_role_arn" {

output "cluster_oidc_issuer_url" {
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" {
Expand Down

0 comments on commit b6125b8

Please sign in to comment.