summaryrefslogtreecommitdiff
path: root/astroshop-terraform/outputs.tf
diff options
context:
space:
mode:
authorSaumit <justsaumit@protonmail.com>2025-09-28 04:19:42 +0530
committerSaumit <justsaumit@protonmail.com>2025-09-28 04:19:42 +0530
commitc91e833ccba15a311e23cc21709cdefaf90b4398 (patch)
treee3a78b5eb61673dc3ace1d97a88727dc49384b4e /astroshop-terraform/outputs.tf
parent44b0d2d9dea535d5580d78ae4a5082732639e2bf (diff)
eks: Add EKS cluster and node group configuration with IAM roles and policies
Diffstat (limited to 'astroshop-terraform/outputs.tf')
-rw-r--r--astroshop-terraform/outputs.tf40
1 files changed, 40 insertions, 0 deletions
diff --git a/astroshop-terraform/outputs.tf b/astroshop-terraform/outputs.tf
new file mode 100644
index 0000000..0bb7270
--- /dev/null
+++ b/astroshop-terraform/outputs.tf
@@ -0,0 +1,40 @@
+output "eks_cluster_name" {
+ description = "EKS cluster name"
+ value = module.eks.cluster_name
+}
+
+output "eks_cluster_endpoint" {
+ description = "EKS cluster API endpoint"
+ value = module.eks.cluster_endpoint
+}
+
+output "eks_cluster_version" {
+ description = "EKS cluster Kubernetes version"
+ value = module.eks.cluster_version
+}
+
+output "eks_cluster_arn" {
+ description = "EKS cluster ARN"
+ value = module.eks.cluster_arn
+}
+
+output "eks_cluster_certificate_authority" {
+ description = "Base64 encoded certificate data required to communicate with the cluster"
+ value = module.eks.cluster_certificate_authority
+ sensitive = true
+}
+
+output "vpc_id" {
+ description = "VPC ID"
+ value = module.vpc.vpc_id
+}
+
+output "private_subnet_ids" {
+ description = "Private subnet IDs"
+ value = module.vpc.private_subnet_ids
+}
+
+output "public_subnet_ids" {
+ description = "Public subnet IDs"
+ value = module.vpc.public_subnet_ids
+} \ No newline at end of file