summaryrefslogtreecommitdiff
path: root/astroshop-terraform/outputs.tf
diff options
context:
space:
mode:
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