Skip to content

Commit

Permalink
chore: adding additional outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
gambol99 committed Apr 1, 2024
1 parent cc73b17 commit e7b4554
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ output "connectivity_type" {
value = var.connectivity_config
}

output "egress_vpc_id" {
description = "The ID of the VPC that is used for egress traffic."
value = local.enable_egress_creation ? module.egress_vpc.vpc_id : null
}

output "ingress_vpc_id" {
description = "The ID of the VPC that is used for ingress traffic."
value = local.enable_ingress_creation ? module.ingress_vpc.vpc_id : null
}

output "transit_gateway_id" {
description = "The ID of the transit gateway."
value = module.tgw.ec2_transit_gateway_id
Expand Down

0 comments on commit e7b4554

Please sign in to comment.