From 07e84208ed514f6133062912e5ae2589a67bac15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Barrera=20S=C3=A1nchez?= Date: Thu, 11 Feb 2021 16:57:11 +0100 Subject: [PATCH] Add a new output: cluster_oidc_issuer_url --- modules/eks/README.md | 3 ++- modules/eks/output.tf | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/eks/README.md b/modules/eks/README.md index 376b186..6df94d1 100644 --- a/modules/eks/README.md +++ b/modules/eks/README.md @@ -30,4 +30,5 @@ | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | cluster_certificate_authority | The base64 encoded certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster | | cluster_endpoint | The endpoint for your Kubernetes API server | -| operator_ssh_user | SSH user to access cluster nodes with ssh_public_key | \ No newline at end of file +| operator_ssh_user | SSH user to access cluster nodes with ssh_public_key | +| eks_cluster_oidc_issuer_url | The URL on the EKS cluster OIDC Issuer | diff --git a/modules/eks/output.tf b/modules/eks/output.tf index 4e25b36..3abc78c 100644 --- a/modules/eks/output.tf +++ b/modules/eks/output.tf @@ -12,3 +12,8 @@ output "operator_ssh_user" { description = "SSH user to access cluster nodes with ssh_public_key" value = "ec2-user" # Default } + +output "eks_cluster_oidc_issuer_url" { + description = "The URL on the EKS cluster OIDC Issuer" + value = module.cluster.cluster_oidc_issuer_url +}