Modifications to outputs.tf

This commit is contained in:
Patrick de Ruiter 2020-06-25 10:10:09 +02:00
parent 5b8bf3d028
commit 4546f307b2
No known key found for this signature in database
GPG Key ID: 9ECD83FE68EA6C9D

View File

@ -1,3 +1,4 @@
#### subnet module outputs ####
output "public_subnet_cidrs" {
value = module.subnets.public_subnet_cidrs
description = "Public subnet CIDRs"
@ -16,6 +17,7 @@ output "private_subnet_ids" {
value = module.subnets.private_subnet_ids
}
#### vpc module outputs ####
output "vpc_cidr_block" {
value = module.vpc.vpc_cidr_block
description = "VPC ID"
@ -26,6 +28,7 @@ output "vpc_id" {
description = "VPC ID Main VPC"
}
#### eks_cluster outputs ####
output "eks_cluster_id" {
description = "The name of the cluster"
value = module.eks_cluster.eks_cluster_id
@ -61,6 +64,12 @@ output "eks_cluster_auth_token" {
value = module.eks_cluster.eks_cluster_auth_token
}
output "workers_security_group_ids" {
description = "Security group the worker nodes belong to"
value = module.eks_cluster.workers_security_group_ids
}
#### eks_node_group outputs ####
output "eks_node_group_role_arn" {
description = "ARN of the worker nodes IAM role"
value = module.eks_node_group.eks_node_group_role_arn
@ -90,8 +99,3 @@ output "eks_node_group_status" {
description = "Status of the EKS Node Group"
value = module.eks_node_group.eks_node_group_status
}
output "workers_security_group_ids" {
description = "Security group the worker nodes belong to"
value = module.eks_node_group.workers_security_group_ids
}