Files
assignment01/outputs.tf
2025-11-18 03:20:27 +00:00

35 lines
589 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 "web" {
description = "web"
value = module.web_svr
}