-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutput.tf
169 lines (160 loc) · 4.45 KB
/
output.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
################################
## VPC
################################
output "vpc_id" {
value = aws_vpc.main.id
description = "vpc id"
sensitive = false
}
output "vpc_arn" {
value = aws_vpc.main.arn
description = "vpc arn"
sensitive = false
}
output "vpc_instance_tenancy" {
value = aws_vpc.main.instance_tenancy
description = "vpc instance_tenancy"
sensitive = false
}
output "vpc_enable_dns_support" {
value = aws_vpc.main.enable_dns_support
description = "vpc enable_dns_support"
sensitive = false
}
output "vpc_enable_dns_hostnames" {
value = aws_vpc.main.enable_dns_hostnames
description = "vpc enable_dns_hostnames"
sensitive = false
}
output "vpc_enable_classiclink" {
value = aws_vpc.main.enable_classiclink
description = "vpc enable_classiclink"
sensitive = false
}
output "vpc_default_route_table_id" {
value = aws_vpc.main.default_route_table_id
description = "vpc default_route_table_id"
sensitive = false
}
output "vpc_main_route_table_id" {
value = aws_vpc.main.main_route_table_id
description = "vpc main_route_table_id"
sensitive = false
}
output "vpc_default_network_acl_id" {
value = aws_vpc.main.default_network_acl_id
description = "vpc default_network_acl_id"
sensitive = false
}
output "vpc_default_security_group_id" {
value = aws_vpc.main.default_security_group_id
description = "vpc default_security_group_id"
sensitive = false
}
################################
## GW1
################################
output "aws_nat_gateway_gw1_id" {
value = aws_nat_gateway.gw1.id
description = "internet gateway id"
sensitive = false
}
output "aws_nat_gateway_gw1_allocation_id" {
value = aws_nat_gateway.gw1.allocation_id
description = "gateway_nat1_allocation_id"
sensitive = false
}
output "aws_nat_gateway_gw1_subnet_id" {
value = aws_nat_gateway.gw1.subnet_id
description = "gateway_nat1_subnet_id"
sensitive = false
}
output "aws_nat_gateway_gw1_private_ip" {
value = aws_nat_gateway.gw1.private_ip
description = "gateway_nat1_private_ip"
sensitive = false
}
output "aws_nat_gateway_gw1_public_ip" {
value = aws_nat_gateway.gw1.public_ip
description = "gateway_nat1_public_ip"
sensitive = false
}
output "aws_nat_gateway_gw1_tags_all" {
value = aws_nat_gateway.gw1.tags_all
description = "gateway_nat1_tags_all"
sensitive = false
}
################################
## GW2
################################
output "aws_nat_gateway_gw2_id" {
value = aws_nat_gateway.gw2.id
description = "internet gateway id"
sensitive = false
}
output "aws_nat_gateway_gw2_allocation_id" {
value = aws_nat_gateway.gw2.allocation_id
description = "gateway_gw2_allocation_id"
sensitive = false
}
output "aws_nat_gateway_gw2_subnet_id" {
value = aws_nat_gateway.gw2.subnet_id
description = "gateway_gw2_subnet_id"
sensitive = false
}
output "aws_nat_gateway_gw2_private_ip" {
value = aws_nat_gateway.gw2.private_ip
description = "gateway_gw2_private_ip"
sensitive = false
}
output "aws_nat_gateway_gw2_public_ip" {
value = aws_nat_gateway.gw2.public_ip
description = "gateway_gw2_public_ip"
sensitive = false
}
output "aws_nat_gateway_gw2_tags_all" {
value = aws_nat_gateway.gw2.tags_all
description = "gateway_gw2_tags_all"
sensitive = false
}
################################
## GW2
################################
output "internet_gateway_id" {
value = aws_internet_gateway.main.id
description = "internet gateway id"
sensitive = false
}
output "internet_gateway_arn" {
value = aws_internet_gateway.main.arn
description = "internet gateway arn"
sensitive = false
}
output "internet_gateway_owner_id" {
value = aws_internet_gateway.main.owner_id
description = "internet gateway owner_id"
sensitive = false
}
output "internet_gateway_tags_all" {
value = aws_internet_gateway.main.tags_all
description = "internet gateway tags_all"
sensitive = false
}
################################
## EKS
################################
output "aws_eks_cluster_endpoint" {
value = aws_eks_cluster.eks.endpoint
}
output "aws_eks_cluster_arn" {
value = aws_eks_cluster.eks.arn
}
output "aws_eks_cluster_id" {
value = aws_eks_cluster.eks.id
}
output "aws_eks_cluster_status" {
value = aws_eks_cluster.eks.status
}
output "aws_eks_created_at" {
value = aws_eks_cluster.eks.created_at
}