From 77f947ec91f6255e007d6384492fb8e690f12c92 Mon Sep 17 00:00:00 2001 From: chewvader Date: Thu, 12 Dec 2019 08:44:45 -0800 Subject: [PATCH] Cluster oidc issuer url string (#626) * cluster_oidc_issuer_url to string change cluster_oidc_issuer_url output to return string * Update CHANGELOG.md adding entry to changelog * Update outputs.tf Co-Authored-By: Daniel Piddock <33028589+dpiddockcmp@users.noreply.github.com> --- CHANGELOG.md | 1 + outputs.tf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38f7186..204c733 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ project adheres to [Semantic Versioning](http://semver.org/). - Fix deprecated interpolation-only expression (by @angelabad) - Updated required version of AWS Provider to >= v2.38.0 for Managed Node Groups (by @wmorgan6796) - Updated minimum version of Terraform to avoid a bug (by @dpiddockcmp) +- Fix cluster_oidc_issuer_url output from list to string (by @chewvader) - Fix idempotency issues for node groups with no remote_access configuration (by @jeffmhastings) #### Important notes diff --git a/outputs.tf b/outputs.tf index 2478dc2..88ab201 100644 --- a/outputs.tf +++ b/outputs.tf @@ -45,7 +45,7 @@ output "cluster_iam_role_arn" { output "cluster_oidc_issuer_url" { description = "The URL on the EKS cluster OIDC Issuer" - value = concat(aws_eks_cluster.this[*].identity[*].oidc.0.issuer, [""])[0] + value = flatten(concat(aws_eks_cluster.this[*].identity[*].oidc.0.issuer, [""]))[0] } output "cloudwatch_log_group_name" {