Modifications to outputs.tf
This commit is contained in:
parent
5b8bf3d028
commit
4546f307b2
14
outputs.tf
14
outputs.tf
@ -1,3 +1,4 @@
|
|||||||
|
#### subnet module outputs ####
|
||||||
output "public_subnet_cidrs" {
|
output "public_subnet_cidrs" {
|
||||||
value = module.subnets.public_subnet_cidrs
|
value = module.subnets.public_subnet_cidrs
|
||||||
description = "Public subnet CIDRs"
|
description = "Public subnet CIDRs"
|
||||||
@ -16,6 +17,7 @@ output "private_subnet_ids" {
|
|||||||
value = module.subnets.private_subnet_ids
|
value = module.subnets.private_subnet_ids
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#### vpc module outputs ####
|
||||||
output "vpc_cidr_block" {
|
output "vpc_cidr_block" {
|
||||||
value = module.vpc.vpc_cidr_block
|
value = module.vpc.vpc_cidr_block
|
||||||
description = "VPC ID"
|
description = "VPC ID"
|
||||||
@ -26,6 +28,7 @@ output "vpc_id" {
|
|||||||
description = "VPC ID Main VPC"
|
description = "VPC ID Main VPC"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#### eks_cluster outputs ####
|
||||||
output "eks_cluster_id" {
|
output "eks_cluster_id" {
|
||||||
description = "The name of the cluster"
|
description = "The name of the cluster"
|
||||||
value = module.eks_cluster.eks_cluster_id
|
value = module.eks_cluster.eks_cluster_id
|
||||||
@ -61,6 +64,12 @@ output "eks_cluster_auth_token" {
|
|||||||
value = module.eks_cluster.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" {
|
output "eks_node_group_role_arn" {
|
||||||
description = "ARN of the worker nodes IAM role"
|
description = "ARN of the worker nodes IAM role"
|
||||||
value = module.eks_node_group.eks_node_group_role_arn
|
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"
|
description = "Status of the EKS Node Group"
|
||||||
value = module.eks_node_group.eks_node_group_status
|
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
|
|
||||||
}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user