This commit is contained in:
2025-11-18 21:20:47 +09:00
parent 68a50929bf
commit 73902869d5
4 changed files with 821 additions and 0 deletions

39
outputs.tf Normal file
View 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
}