init
This commit is contained in:
39
outputs.tf
Normal file
39
outputs.tf
Normal file
@ -0,0 +1,39 @@
|
||||
//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
|
||||
}
|
||||
Reference in New Issue
Block a user