-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathoutputs.tf
326 lines (273 loc) · 12.8 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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
#---------------------------------------------------
# AWS Glue catalog database
#---------------------------------------------------
output "glue_catalog_database_arn" {
description = "ARN for glue catalog database"
value = element(concat(aws_glue_catalog_database.glue_catalog_database.*.arn, [""]), 0)
}
output "glue_catalog_database_id" {
description = "ID for glue catalog database"
value = element(concat(aws_glue_catalog_database.glue_catalog_database.*.id, [""]), 0)
}
output "glue_catalog_database_name" {
description = "Name for glue catalog database"
value = element(concat(aws_glue_catalog_database.glue_catalog_database.*.name, [""]), 0)
}
#---------------------------------------------------
# AWS Glue catalog table
#---------------------------------------------------
output "glue_catalog_table_arn" {
description = "ARN for glue catalog table"
value = element(concat(aws_glue_catalog_table.glue_catalog_table.*.arn, [""]), 0)
}
output "glue_catalog_table_id" {
description = "ID for glue catalog table"
value = element(concat(aws_glue_catalog_table.glue_catalog_table.*.id, [""]), 0)
}
output "glue_catalog_table_name" {
description = "Name for glue catalog table"
value = element(concat(aws_glue_catalog_table.glue_catalog_table.*.name, [""]), 0)
}
#---------------------------------------------------
# AWS Glue classifier
#---------------------------------------------------
output "glue_classifier_id" {
description = "Name of the classifier"
value = element(concat(aws_glue_classifier.glue_classifier.*.id, [""]), 0)
}
#---------------------------------------------------
# AWS Glue connection
#---------------------------------------------------
output "glue_connection_id" {
description = "Catalog ID and name of the connection"
value = element(concat(aws_glue_connection.glue_connection.*.id, [""]), 0)
}
#---------------------------------------------------
# AWS Glue crawler
#---------------------------------------------------
output "glue_crawler_id" {
description = "Crawler name"
value = element(concat(aws_glue_crawler.glue_crawler.*.id, [""]), 0)
}
output "glue_crawler_arn" {
description = "The ARN of the crawler"
value = element(concat(aws_glue_crawler.glue_crawler.*.arn, [""]), 0)
}
#---------------------------------------------------
# AWS glue security configuration
#---------------------------------------------------
output "glue_security_configuration_id" {
description = "Glue security configuration name"
value = element(concat(aws_glue_security_configuration.glue_security_configuration.*.id, [""]), 0)
}
#---------------------------------------------------
# AWS Glue workflow
#---------------------------------------------------
output "glue_workflow_id" {
description = "Glue workflow name"
value = element(concat(aws_glue_workflow.glue_workflow.*.id, [""]), 0)
}
#---------------------------------------------------
# AWS Glue job
#---------------------------------------------------
output "glue_job_id" {
description = "Glue job name"
value = element(concat(aws_glue_job.glue_job.*.id, [""]), 0)
}
output "glue_job_arn" {
description = "Amazon Resource Name (ARN) of Glue Job"
value = element(concat(aws_glue_job.glue_job.*.arn, [""]), 0)
}
#---------------------------------------------------
# AWS Glue trigger
#---------------------------------------------------
output "glue_trigger_id" {
description = "Trigger name"
value = element(concat(aws_glue_trigger.glue_trigger.*.id, [""]), 0)
}
output "glue_trigger_arn" {
description = "Amazon Resource Name (ARN) of Glue Trigger"
value = element(concat(aws_glue_trigger.glue_trigger.*.arn, [""]), 0)
}
#---------------------------------------------------
# AWS Glue data catalog encryption settings
#---------------------------------------------------
output "glue_data_catalog_encryption_settings_id" {
description = "The ID of the Data Catalog to set the security configuration for."
value = element(concat(aws_glue_data_catalog_encryption_settings.glue_data_catalog_encryption_settings.*.id, [""]), 0)
}
#---------------------------------------------------
# AWS Glue dev endpoint
#---------------------------------------------------
output "glue_dev_endpoint_id" {
description = "The ID of the endpoint."
value = element(concat(aws_glue_dev_endpoint.glue_dev_endpoint.*.id, [""]), 0)
}
output "glue_dev_endpoint_arn" {
description = "The ARN of the endpoint."
value = element(concat(aws_glue_dev_endpoint.glue_dev_endpoint.*.arn, [""]), 0)
}
output "glue_dev_endpoint_name" {
description = "The name of the new endpoint."
value = element(concat(aws_glue_dev_endpoint.glue_dev_endpoint.*.name, [""]), 0)
}
output "glue_dev_endpoint_private_address" {
description = "A private IP address to access the endpoint within a VPC, if this endpoint is created within one."
value = element(concat(aws_glue_dev_endpoint.glue_dev_endpoint.*.private_address, [""]), 0)
}
output "glue_dev_endpoint_public_address" {
description = "The public IP address used by this endpoint. The PublicAddress field is present only when you create a non-VPC endpoint."
value = element(concat(aws_glue_dev_endpoint.glue_dev_endpoint.*.public_address, [""]), 0)
}
output "glue_dev_endpoint_yarn_endpoint_address" {
description = "The YARN endpoint address used by this endpoint."
value = element(concat(aws_glue_dev_endpoint.glue_dev_endpoint.*.yarn_endpoint_address, [""]), 0)
}
output "glue_dev_endpoint_zeppelin_remote_spark_interpreter_port" {
description = "The Apache Zeppelin port for the remote Apache Spark interpreter."
value = element(concat(aws_glue_dev_endpoint.glue_dev_endpoint.*.zeppelin_remote_spark_interpreter_port, [""]), 0)
}
output "glue_dev_endpoint_availability_zone" {
description = "The AWS availability zone where this endpoint is located."
value = element(concat(aws_glue_dev_endpoint.glue_dev_endpoint.*.availability_zone, [""]), 0)
}
output "glue_dev_endpoint_vpc_id" {
description = "The ID of the VPC used by this endpoint."
value = element(concat(aws_glue_dev_endpoint.glue_dev_endpoint.*.vpc_id, [""]), 0)
}
output "glue_dev_endpoint_status" {
description = "The current status of this endpoint."
value = element(concat(aws_glue_dev_endpoint.glue_dev_endpoint.*.status, [""]), 0)
}
output "glue_dev_endpoint_failure_reason" {
description = "The reason for a current failure in this endpoint."
value = element(concat(aws_glue_dev_endpoint.glue_dev_endpoint.*.failure_reason, [""]), 0)
}
#---------------------------------------------------
# AWS Glue ml transform
#---------------------------------------------------
output "glue_ml_transform_id" {
description = "Glue ML Transform ID."
value = element(concat(aws_glue_ml_transform.glue_ml_transform.*.id, [""]), 0)
}
output "glue_ml_transform_arn" {
description = "Amazon Resource Name (ARN) of Glue ML Transform."
value = element(concat(aws_glue_ml_transform.glue_ml_transform.*.arn, [""]), 0)
}
output "glue_ml_transform_label_count" {
description = "The number of labels available for this transform."
value = element(concat(aws_glue_ml_transform.glue_ml_transform.*.label_count, [""]), 0)
}
output "glue_ml_transform_schema" {
description = "The object that represents the schema that this transform accepts. see Schema."
value = element(concat(aws_glue_ml_transform.glue_ml_transform.*.schema, [""]), 0)
}
#---------------------------------------------------
# AWS Glue partition
#---------------------------------------------------
output "glue_partition_id" {
description = "partition id."
value = element(concat(aws_glue_partition.glue_partition.*.id, [""]), 0)
}
output "glue_partition_creation_time" {
description = "The time at which the partition was created."
value = element(concat(aws_glue_partition.glue_partition.*.creation_time, [""]), 0)
}
output "glue_partition_last_analyzed_time" {
description = "The last time at which column statistics were computed for this partition."
value = element(concat(aws_glue_partition.glue_partition.*.last_analyzed_time, [""]), 0)
}
output "glue_partition_last_accessed_time" {
description = "The last time at which the partition was accessed."
value = element(concat(aws_glue_partition.glue_partition.*.last_accessed_time, [""]), 0)
}
#---------------------------------------------------
# AWS Glue registry
#---------------------------------------------------
output "glue_registry_id" {
description = "Amazon Resource Name (ARN) of Glue Registry."
value = element(concat(aws_glue_registry.glue_registry.*.id, [""]), 0)
}
output "glue_registry_arn" {
description = "Amazon Resource Name (ARN) of Glue Registry."
value = element(concat(aws_glue_registry.glue_registry.*.arn, [""]), 0)
}
#---------------------------------------------------
# AWS Glue resource policy
#---------------------------------------------------
output "glue_resource_policy_id" {
description = "The ID of Glue resource policy."
value = element(concat(aws_glue_resource_policy.glue_resource_policy.*.id, [""]), 0)
}
#---------------------------------------------------
# AWS Glue schema
#---------------------------------------------------
output "glue_schema_id" {
description = "Amazon Resource Name (ARN) of the schema."
value = element(concat(aws_glue_schema.glue_schema.*.id, [""]), 0)
}
output "glue_schema_arn" {
description = "Amazon Resource Name (ARN) of the schema."
value = element(concat(aws_glue_schema.glue_schema.*.arn, [""]), 0)
}
output "glue_schema_registry_name" {
description = "The name of the Glue Registry."
value = element(concat(aws_glue_schema.glue_schema.*.registry_name, [""]), 0)
}
output "glue_schema_latest_schema_version" {
description = "The latest version of the schema associated with the returned schema definition."
value = element(concat(aws_glue_schema.glue_schema.*.latest_schema_version, [""]), 0)
}
output "glue_schema_next_schema_version" {
description = "The next version of the schema associated with the returned schema definition."
value = element(concat(aws_glue_schema.glue_schema.*.next_schema_version, [""]), 0)
}
output "glue_schema_schema_checkpoint" {
description = "The version number of the checkpoint (the last time the compatibility mode was changed)."
value = element(concat(aws_glue_schema.glue_schema.*.schema_checkpoint, [""]), 0)
}
#---------------------------------------------------
# AWS Glue user defined function
#---------------------------------------------------
output "glue_user_defined_function_id" {
description = "The id of the Glue User Defined Function."
value = element(concat(aws_glue_user_defined_function.glue_user_defined_function.*.id, [""]), 0)
}
output "glue_user_defined_function_arn" {
description = "The ARN of the Glue User Defined Function."
value = element(concat(aws_glue_user_defined_function.glue_user_defined_function.*.arn, [""]), 0)
}
output "glue_user_defined_function_create_time" {
description = "The time at which the function was created."
value = element(concat(aws_glue_user_defined_function.glue_user_defined_function.*.create_time, [""]), 0)
}
#---------------------------------------------------
# AWS Glue partition index
#---------------------------------------------------
output "glue_partition_index_id" {
description = "Catalog ID, Database name, table name, and index name."
value = element(concat(aws_glue_partition_index.glue_partition_index.*.id, [""]), 0)
}
#---------------------------------------------------
# AWS Glue data quality ruleset
#---------------------------------------------------
output "glue_data_quality_ruleset_id" {
description = "ID of the Glue Data Quality Ruleset."
value = element(concat(aws_glue_data_quality_ruleset.glue_data_quality_ruleset.*.id, [""]), 0)
}
output "glue_data_quality_ruleset_arn" {
description = "ARN of the Glue Data Quality Ruleset."
value = element(concat(aws_glue_data_quality_ruleset.glue_data_quality_ruleset.*.arn, [""]), 0)
}
output "glue_data_quality_ruleset_created_on" {
description = "The time and date that this data quality ruleset was created."
value = element(concat(aws_glue_data_quality_ruleset.glue_data_quality_ruleset.*.created_on, [""]), 0)
}
output "glue_data_quality_ruleset_last_modified_on" {
description = "The time and date that this data quality ruleset was created."
value = element(concat(aws_glue_data_quality_ruleset.glue_data_quality_ruleset.*.last_modified_on, [""]), 0)
}
output "glue_data_quality_ruleset_recommendation_run_id" {
description = "When a ruleset was created from a recommendation run, this run ID is generated to link the two together."
value = element(concat(aws_glue_data_quality_ruleset.glue_data_quality_ruleset.*.recommendation_run_id, [""]), 0)
}