-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathoutputs.tf
More file actions
46 lines (40 loc) · 1.38 KB
/
outputs.tf
File metadata and controls
46 lines (40 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
###################################
# AWS Virtual Private Network (VPC)
###################################
output "vpc" {
description = "Values from the generated VPC."
value = aws_vpc.vpc
}
######################
# AWS Internet Gateway
######################
output "internet_gateway_id" {
description = "Values from the generated Internet Gateway in case it was created."
value = var.vpc_create_internet_gateway ? aws_internet_gateway.internet_gw[0] : null
}
######################
# AWS Subnets - Public
######################
output "public_subnets" {
description = "Values from the generated public subnets"
value = aws_subnet.public
}
# output "public_subnets_route_tables" {
# description = "Values from the generated route tables for the public subnets"
# value = aws_route_table.public
# }
# output "nat_gws" {
# description = "Values from the generated NAT gateways"
# value = var.nat_gateway_availability_mode == "regional" ? aws_nat_gateway.regional[0] : aws_nat_gateway.zonal
# }
#######################
# AWS Subnets - Private
#######################
output "private_subnets" {
description = "Values from the generated private subnets"
value = aws_subnet.private
}
# output "private_subnets_route_tables" {
# description = "Values from the generated route tables for the private subnets"
# value = aws_route_table.private
# }