-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
executable file
·205 lines (164 loc) · 5.67 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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
output "arn" {
value = aws_vpc.main.arn
description = "Amazon Resource Name (ARN) of VPC."
}
output "assign_generated_ipv6_cidr_block" {
value = aws_vpc.main.assign_generated_ipv6_cidr_block
description = "Assign generated IPv6 CIDR block."
}
output "cidr_block" {
value = aws_vpc.main.cidr_block
description = "The CIDR block for the association."
}
output "default_network_acl_id" {
value = aws_vpc.main.default_network_acl_id
description = "Default network ACL ID."
}
output "default_route_table_id" {
value = aws_vpc.main.default_route_table_id
description = "Default route table ID."
}
output "default_security_group_id" {
value = aws_vpc.main.default_security_group_id
description = "Default security group ID."
}
output "dhcp_options_id" {
value = aws_vpc.main.dhcp_options_id
description = "DHCP options ID."
}
output "enable_classiclink" {
value = aws_vpc.main.enable_classiclink
description = "Enable classic link."
}
output "enable_classiclink_dns_support" {
value = aws_vpc.main.enable_classiclink_dns_support
description = "Enable classic link DNS support"
}
output "enable_dns_hostnames" {
value = aws_vpc.main.enable_dns_hostnames
description = "Whether or not the VPC has DNS hostname support."
}
output "enable_dns_support" {
value = aws_vpc.main.enable_dns_support
description = "Whether or not the VPC has DNS support."
}
output "id" {
value = aws_vpc.main.id
description = "VPC ID."
}
output "instance_tenancy" {
value = aws_vpc.main.instance_tenancy
description = "The allowed tenancy of instances launched into the selected VPC."
}
output "ipv6_association_id" {
value = aws_vpc.main.ipv6_association_id
description = "The association ID for the IPv6 CIDR block."
}
output "ipv6_cidr_block" {
value = aws_vpc.main.ipv6_cidr_block
description = "The IPv6 CIDR block."
}
output "main_route_table_id" {
value = aws_vpc.main.main_route_table_id
description = "The ID of the main route table associated with this VPC."
}
output "owner_id" {
value = aws_vpc.main.owner_id
description = "The ID of the AWS account that owns the VPC."
}
output "route53_zone_private" {
value = aws_route53_zone.private
description = "Private Route53 zone associated with the VPC."
}
output "vpc_dhcp_options_id" {
value = concat(aws_vpc_dhcp_options.main.*.id, [""])[0]
description = "The ID of the DHCP Options Set."
}
output "vpc_dhcp_options_owner_id" {
value = concat(aws_vpc_dhcp_options.main.*.owner_id, [""])[0]
description = "The ID of the AWS account that owns the DHCP options set."
}
output "internet_gateway_id" {
value = concat(aws_internet_gateway.main.*.id, [""])[0]
description = "The ID of the Internet Gateway."
}
output "internet_gateway_owner_id" {
value = concat(aws_internet_gateway.main.*.owner_id, [""])[0]
description = "The ID of the AWS account that owns the internet gateway."
}
output "egress_only_internet_gateway" {
value = concat(aws_egress_only_internet_gateway.main.*.id, [""])[0]
description = "The ID of the egress-only Internet gateway."
}
output "eip_nat_gateways" {
value = aws_eip.nat_gw
description = "NAT gateway elastic IPs."
}
output "nat_gateways" {
value = aws_nat_gateway.main
description = "NAT gateways."
}
output "subnets_persistence" {
value = aws_subnet.persistence
description = "Persistence subnets"
}
output "subnets_private" {
value = aws_subnet.private
description = "Private subnets"
}
output "subnets_public" {
value = aws_subnet.public
description = "Public subnets"
}
output "db_subnet_group_id" {
value = concat(aws_db_subnet_group.database.*.id, [""])[0]
description = "The db subnet group name."
}
output "db_subnet_group_arn" {
value = concat(aws_db_subnet_group.database.*.arn, [""])[0]
description = "The ARN of the db subnet group."
}
output "elasticache_subnet_group_description" {
value = concat(aws_elasticache_subnet_group.elasticache.*.description, [""])[0]
description = "ElastiCache subnet group description"
}
output "elasticache_subnet_group_name" {
value = concat(aws_elasticache_subnet_group.elasticache.*.name, [""])[0]
description = "ElastiCache subnet group name"
}
output "elasticache_subnet_group_subnet_ids" {
value = concat(aws_elasticache_subnet_group.elasticache.*.subnet_ids, [])
description = "ElastiCache subnet group subnet IDs"
}
output "redshift_subnet_group_id" {
value = concat(aws_redshift_subnet_group.redshift.*.id, [""])[0]
description = "The Redshift Subnet group ID."
}
output "redshift_subnet_group_arn" {
value = concat(aws_redshift_subnet_group.redshift.*.arn, [""])[0]
description = "Amazon Resource Name (ARN) of the Redshift Subnet group name."
}
output "route_tables_persistence" {
value = aws_route_table.persistence
description = "Persistence route tables."
}
output "route_tables_private" {
value = aws_route_table.private
description = "Private route tables."
}
output "route_tables_public" {
value = aws_route_table.public
description = "Public route tables."
}
output "network_acl_persistence" {
value = aws_network_acl.persistence
description = "Persistence network ACL."
}
output "network_acl_private" {
value = aws_network_acl.private
description = "Private network ACL."
}
output "network_acl_public" {
value = aws_network_acl.public
description = "Public network ACL."
}