From 41e1e808f7f897c23c0fdbf127f1bf60914cde5c Mon Sep 17 00:00:00 2001 From: Jai Govindani Date: Wed, 3 Nov 2021 10:41:36 +0700 Subject: [PATCH] feat(outputs): add `cluster_security_group_id` (#20) Signed-off-by: Jai Govindani --- eks/outputs.tf | 5 +++++ outputs.tf | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/eks/outputs.tf b/eks/outputs.tf index 8507271..8fe73a2 100644 --- a/eks/outputs.tf +++ b/eks/outputs.tf @@ -18,6 +18,11 @@ output "cluster_primary_security_group_id" { value = module.amazon_eks.cluster_primary_security_group_id } +output "cluster_security_group_id" { + description = "A Security Group attached to the EKS cluster, shown as 'Additional security groups' in the EKS console" + value = module.amazon_eks.cluster_security_group_id +} + output "eks-cluster-endpoint" { description = "The URI of the cluster endpoint, used for Admin tasks, i.e Kubectl" value = data.aws_eks_cluster.eks-cluster.endpoint diff --git a/outputs.tf b/outputs.tf index 352cad3..42aeac3 100644 --- a/outputs.tf +++ b/outputs.tf @@ -18,6 +18,11 @@ output "cluster_primary_security_group_id" { value = module.eks.cluster_primary_security_group_id } +output "cluster_security_group_id" { + description = "A Security Group attached to the EKS cluster, shown as 'Additional security groups' in the EKS console" + value = module.eks.cluster_security_group_id +} + output "eks-cluster-endpoint" { description = "The URI of the cluster endpoint, used for Admin tasks, i.e Kubectl" value = module.eks.eks-cluster-endpoint