diff --git a/modules/cluster/outputs.tf b/modules/cluster/outputs.tf index 985d93c..9a5f593 100644 --- a/modules/cluster/outputs.tf +++ b/modules/cluster/outputs.tf @@ -23,6 +23,11 @@ output "cluster_token" { value = data.aws_eks_cluster_auth.cluster.token } +output "eks_module" { + value = module.cluster.eks + description = "The output of the terraform-aws-modules/eks/aws module for use in terraform" +} + // ---------------------------------------------------------------------------- // Long Term Storage S3 Buckets (Logs, Reports, Repository) // ---------------------------------------------------------------------------- diff --git a/outputs.tf b/outputs.tf index ddc5572..356c3de 100644 --- a/outputs.tf +++ b/outputs.tf @@ -30,7 +30,7 @@ output "lts_repository_bucket" { } // ---------------------------------------------------------------------------- -// Cluster Name +// Cluster // ---------------------------------------------------------------------------- output "cluster_name" { value = local.cluster_name @@ -42,6 +42,10 @@ output "cluster_oidc_issuer_url" { description = "The Cluster OIDC Issuer URL" } +output "eks_module" { + value = module.cluster.eks_module + description = "The output of the terraform-aws-modules/eks/aws module for use in terraform" +} // ---------------------------------------------------------------------------- // Generated IAM Roles