From c91e833ccba15a311e23cc21709cdefaf90b4398 Mon Sep 17 00:00:00 2001 From: Saumit Date: Sun, 28 Sep 2025 04:19:42 +0530 Subject: eks: Add EKS cluster and node group configuration with IAM roles and policies --- astroshop-terraform/modules/eks/outputs.tf | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 astroshop-terraform/modules/eks/outputs.tf (limited to 'astroshop-terraform/modules/eks/outputs.tf') diff --git a/astroshop-terraform/modules/eks/outputs.tf b/astroshop-terraform/modules/eks/outputs.tf new file mode 100644 index 0000000..4319dcb --- /dev/null +++ b/astroshop-terraform/modules/eks/outputs.tf @@ -0,0 +1,25 @@ +output "cluster_name" { + description = "The name of the EKS cluster" + value = aws_eks_cluster.main.name +} + +output "cluster_endpoint" { + description = "Endpoint for your EKS Kubernetes API" + value = aws_eks_cluster.main.endpoint +} + +output "cluster_version" { + description = "The Kubernetes server version for the cluster" + value = aws_eks_cluster.main.version +} + +output "cluster_arn" { + description = "The Amazon Resource Name (ARN) of the cluster" + value = aws_eks_cluster.main.arn +} + +output "cluster_certificate_authority" { + description = "Base64 encoded certificate data required to communicate with the cluster" + value = aws_eks_cluster.main.certificate_authority[0].data + sensitive = true +} \ No newline at end of file -- cgit v1.2.3