Skip to content

Commit 9c2bffc

Browse files
authored
chore: generate root module output type metadata (terraform-google-modules#372)
1 parent c285f34 commit 9c2bffc

File tree

2 files changed

+134
-12
lines changed

2 files changed

+134
-12
lines changed

metadata.yaml

+115
Original file line numberDiff line numberDiff line change
@@ -230,28 +230,143 @@ spec:
230230
outputs:
231231
- name: bigquery_dataset
232232
description: Bigquery dataset resource.
233+
type:
234+
- object
235+
- access:
236+
- set
237+
- - object
238+
- condition:
239+
- list
240+
- - object
241+
- description: string
242+
expression: string
243+
location: string
244+
title: string
245+
dataset:
246+
- list
247+
- - object
248+
- dataset:
249+
- list
250+
- - object
251+
- dataset_id: string
252+
project_id: string
253+
target_types:
254+
- list
255+
- string
256+
domain: string
257+
group_by_email: string
258+
iam_member: string
259+
role: string
260+
routine:
261+
- list
262+
- - object
263+
- dataset_id: string
264+
project_id: string
265+
routine_id: string
266+
special_group: string
267+
user_by_email: string
268+
view:
269+
- list
270+
- - object
271+
- dataset_id: string
272+
project_id: string
273+
table_id: string
274+
creation_time: number
275+
dataset_id: string
276+
default_collation: string
277+
default_encryption_configuration:
278+
- list
279+
- - object
280+
- kms_key_name: string
281+
default_partition_expiration_ms: number
282+
default_table_expiration_ms: number
283+
delete_contents_on_destroy: bool
284+
description: string
285+
effective_labels:
286+
- map
287+
- string
288+
etag: string
289+
external_dataset_reference:
290+
- list
291+
- - object
292+
- connection: string
293+
external_source: string
294+
friendly_name: string
295+
id: string
296+
is_case_insensitive: bool
297+
labels:
298+
- map
299+
- string
300+
last_modified_time: number
301+
location: string
302+
max_time_travel_hours: string
303+
project: string
304+
resource_tags:
305+
- map
306+
- string
307+
self_link: string
308+
storage_billing_model: string
309+
terraform_labels:
310+
- map
311+
- string
312+
timeouts:
313+
- object
314+
- create: string
315+
delete: string
316+
update: string
233317
- name: bigquery_external_tables
234318
description: Map of BigQuery external table resources being provisioned.
319+
type:
320+
- object
321+
- {}
235322
- name: bigquery_tables
236323
description: Map of bigquery table resources being provisioned.
324+
type:
325+
- object
326+
- {}
237327
- name: bigquery_views
238328
description: Map of bigquery view resources being provisioned.
329+
type:
330+
- object
331+
- {}
239332
- name: external_table_ids
240333
description: Unique IDs for any external tables being provisioned
334+
type:
335+
- tuple
336+
- []
241337
- name: external_table_names
242338
description: Friendly names for any external tables being provisioned
339+
type:
340+
- tuple
341+
- []
243342
- name: project
244343
description: Project where the dataset and tables are created
344+
type: string
245345
- name: routine_ids
246346
description: Unique IDs for any routine being provisioned
347+
type:
348+
- tuple
349+
- []
247350
- name: table_ids
248351
description: Unique id for the table being provisioned
352+
type:
353+
- tuple
354+
- []
249355
- name: table_names
250356
description: Friendly name for the table being provisioned
357+
type:
358+
- tuple
359+
- []
251360
- name: view_ids
252361
description: Unique id for the view being provisioned
362+
type:
363+
- tuple
364+
- []
253365
- name: view_names
254366
description: friendlyname for the view being provisioned
367+
type:
368+
- tuple
369+
- []
255370
requirements:
256371
roles:
257372
- level: Project

modules/data_warehouse/metadata.yaml

+19-12
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,29 @@ spec:
3232
description: {}
3333
icon: assets/data_warehouse_icon_v1.png
3434
deploymentDuration:
35-
configurationSecs: "120"
36-
deploymentSecs: "420"
35+
configurationSecs: 120
36+
deploymentSecs: 420
3737
costEstimate:
3838
description: cost of this solution is $0.65
3939
url: https://cloud.google.com/products/calculator/#id=857776c6-49e8-4c6a-adc5-42a15b8fb67d
4040
cloudProducts:
41-
- productId: search_BIGQUERY_SECTION
42-
- productId: WORKFLOWS_SECTION
43-
- productId: STORAGE_SECTION
44-
- productId: ai-platform
45-
- productId: LOOKER_STUDIO_SECTION
46-
pageUrl: lookerstudio.google.com
47-
isExternal: true
48-
- productId: CLOUD_DMS_SECTION
49-
- productId: FUNCTIONS_SECTION
50-
- productId: DATAFORM_SECTION
41+
- productId: search_BIGQUERY_SECTION
42+
pageUrl: ""
43+
- productId: WORKFLOWS_SECTION
44+
pageUrl: ""
45+
- productId: STORAGE_SECTION
46+
pageUrl: ""
47+
- productId: ai-platform
48+
pageUrl: ""
49+
- productId: LOOKER_STUDIO_SECTION
50+
pageUrl: lookerstudio.google.com
51+
isExternal: true
52+
- productId: CLOUD_DMS_SECTION
53+
pageUrl: ""
54+
- productId: FUNCTIONS_SECTION
55+
pageUrl: ""
56+
- productId: DATAFORM_SECTION
57+
pageUrl: ""
5158
content:
5259
architecture:
5360
diagramUrl: www.gstatic.com/pantheon/images/solutions/data-warehouse-architecture_v6.svg

0 commit comments

Comments
 (0)