terraform-demo/prod-hq-network/outputs.tf

45 lines
977 B
HCL

//main-outputs
output "aws_id" {
description = "The AWS Account ID."
value = data.aws_caller_identity.this.account_id
}
output "public_subnet" {
description = "The name of vpc hq id"
value = module.subnet_public.subnet
}
output "private_subnet" {
description = "The name of vpc hq id"
value = module.subnet_private.subnet
}
output "private_subnet_tgw" {
description = "The name of vpc hq id"
value = module.subnet_private_tgw.subnet
}
output "vpc_id" {
description = "vpc_id"
value = module.vpc_hq.vpc_hq_id
}
output "nat_gw_id" {
description = "vpc_id"
value = module.nat_gw.nat_id
}
output "route_public_id" {
description = "get private route id"
value = module.route_public.route_id
}
output "route_private_id" {
description = "get private route id"
value = module.route_private.route_id
}
output "route_private_tgw_id" {
description = "get private route id"
value = module.route_private_tgw.route_id
}