Skip to content

Commit

Permalink
feat(outputs): add cluster_security_group_id (#20)
Browse files Browse the repository at this point in the history
Signed-off-by: Jai Govindani <jai@honestbank.com>
  • Loading branch information
jai authored Nov 3, 2021
1 parent 5f255fe commit 41e1e80
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eks/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41e1e80

Please sign in to comment.