-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
70 lines (55 loc) · 1.02 KB
/
outputs.tf
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# VPC outputs
output "vpc_id" {
value = aws_vpc.this.id
}
output "vpc_arn" {
value = aws_vpc.this.arn
}
output "vpc_object" {
value = aws_vpc.this
}
# Subnets outputs
output "public_subnets_ids" {
value = aws_subnet.public.*.id
}
output "public_subnet_object" {
value = aws_subnet.public
}
output "private_subnets_ids" {
value = aws_subnet.private.*.id
}
output "private_subnet_object" {
value = aws_subnet.public
}
# IG outputs
output "igw_id" {
value = aws_internet_gateway.this.id
}
output "igw_object" {
value = aws_internet_gateway.this
}
# EIP outputs
output "eip_objects" {
value = aws_eip.this.*
}
# Default route outputs
output "default_rt_id" {
value = aws_route.this.id
}
output "default_rt_object" {
value = aws_route.this
}
# NAT gateway outputs
output "natgw_ids" {
value = aws_nat_gateway.this.*.id
}
output "natgw_object" {
value = aws_nat_gateway.this
}
# Route Tables outputs
output "rt_ids" {
value = aws_route_table.this.*.id
}
output "rt_objects" {
value = aws_route_table.this
}