-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
168 lines (131 loc) · 4.64 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
output "vpc" {
description = "An object containing all VPC data."
value = data.aws_vpc.vpc
}
output "vpc_arn" {
description = "The ARN of the VPC in this account."
value = data.aws_vpc.vpc.arn
}
output "vpc_cidr" {
description = "The CIDR of the VPC in this account."
value = data.aws_vpc.vpc.cidr_block
}
output "vpc_id" {
description = "The ID of the VPC in this account."
value = data.aws_vpc.vpc.id
}
#-------------------------------------------------------------------------------
output "subnet_ids" {
description = "List of all Subnet IDs in the VPC."
value = data.aws_subnets.subnets.ids
}
#-------------------------------------------------------------------------------
output "subnet_int_a" {
description = "An object containing all data for subnet A."
value = data.aws_subnet.subnet_int_a
}
output "subnet_int_a_arn" {
description = "The ARN of subnet A."
value = data.aws_subnet.subnet_int_a.arn
}
output "subnet_int_a_id" {
description = "The ID of subnet A."
value = data.aws_subnet.subnet_int_a.id
}
output "subnet_int_a_zone" {
description = "The Availability Zone of subnet A."
value = data.aws_subnet.subnet_int_a.availability_zone
}
output "subnet_int_a_zone_id" {
description = "The Availability Zone ID of subnet A."
value = data.aws_subnet.subnet_int_a.availability_zone_id
}
output "subnet_int_a_cidr" {
description = "The Availability Zone CIDR block of subnet A."
value = data.aws_subnet.subnet_int_a.cidr_block
}
#-------------------------------------------------------------------------------
output "subnet_int_b" {
description = "An object containing all data for subnet B."
value = data.aws_subnet.subnet_int_b
}
output "subnet_int_b_arn" {
description = "The ARN of subnet B."
value = data.aws_subnet.subnet_int_b.arn
}
output "subnet_int_b_id" {
description = "The ID of subnet B."
value = data.aws_subnet.subnet_int_b.id
}
output "subnet_int_b_zone" {
description = "The Availability Zone of subnet B."
value = data.aws_subnet.subnet_int_b.availability_zone
}
output "subnet_int_b_zone_id" {
description = "The Availability Zone ID of subnet B."
value = data.aws_subnet.subnet_int_b.availability_zone_id
}
output "subnet_int_b_cidr" {
description = "The Availability Zone CIDR block of subnet B."
value = data.aws_subnet.subnet_int_b.cidr_block
}
#-------------------------------------------------------------------------------
output "subnet_int_c" {
description = "An object containing all data for subnet C."
value = data.aws_subnet.subnet_int_c
}
output "subnet_int_c_arn" {
description = "The ARN of subnet C."
value = data.aws_subnet.subnet_int_c.arn
}
output "subnet_int_c_id" {
description = "The ID of subnet C."
value = data.aws_subnet.subnet_int_c.id
}
output "subnet_int_c_zone" {
description = "The Availability Zone of subnet C."
value = data.aws_subnet.subnet_int_c.availability_zone
}
output "subnet_int_c_zone_id" {
description = "The Availability Zone ID of subnet C."
value = data.aws_subnet.subnet_int_c.availability_zone_id
}
output "subnet_int_c_cidr" {
description = "The Availability Zone CIDR block of subnet C."
value = data.aws_subnet.subnet_int_c.cidr_block
}
#-------------------------------------------------------------------------------
output "route_table" {
description = "An object containing all data for this route table."
value = data.aws_route_table.route_table
}
output "route_table_arn" {
description = "The ARN of this route table."
value = data.aws_route_table.route_table.arn
}
output "route_table_id" {
description = "The ID of this route table."
value = data.aws_route_table.route_table.id
}
#-------------------------------------------------------------------------------
output "internet_gateway" {
description = "An object containing all data for this internet gateway."
value = data.aws_internet_gateway.igw
}
output "internet_gateway_arn" {
description = "The ARN of this internet gateway."
value = data.aws_internet_gateway.igw.arn
}
output "internet_gateway_id" {
description = "The ID of this internet gateway."
value = data.aws_internet_gateway.igw.id
}
#-------------------------------------------------------------------------------
output "nacl" {
description = "An object containing all data for this Network Access Control List (NACL)."
value = data.aws_network_acls.nacl
}
output "nacl_ids" {
description = "List of all Network Access Control List (NACL) IDs in the VPC."
value = data.aws_network_acls.nacl.ids
}