39 lines
689 B
HCL
39 lines
689 B
HCL
//main-outputs
|
|
output "aws_id" {
|
|
description = "The AWS Account ID."
|
|
value = data.aws_caller_identity.this.account_id
|
|
}
|
|
|
|
output "info_vpc" {
|
|
description = "vpc_id & vpc_name"
|
|
value = module.vpc
|
|
}
|
|
|
|
output "info_igw" {
|
|
description = "igw info"
|
|
value = module.igw
|
|
}
|
|
|
|
output "info_subnet_ext" {
|
|
description = "public subnet info"
|
|
value = module.subnet_ext
|
|
}
|
|
|
|
output "info_ngw" {
|
|
description = "ngw_id"
|
|
value = module.ngw.nat_id
|
|
}
|
|
|
|
output "bastion" {
|
|
description = "bastion"
|
|
value = module.bastion
|
|
}
|
|
|
|
output "info_eks_id" {
|
|
description = "eks_cluster_id"
|
|
value = module.eks_cluster.cluster_id
|
|
}
|
|
|
|
output "info_eks_cluster" {
|
|
value = data.aws_eks_cluster.eks
|
|
} |