You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -199,6 +200,7 @@ This module provisions a dataset and a list of tables with associated JSON schem
199
200
| materialized\_views | A list of objects which includes view\_id, view\_query, clustering, time\_partitioning, range\_partitioning, expiration\_time and labels | <pre>list(object({<br> view_id = string,<br> description = optional(string),<br> query = string,<br> enable_refresh = bool,<br> refresh_interval_ms = string,<br> clustering = list(string),<br> time_partitioning = object({<br> expiration_ms = string,<br> field = string,<br> type = string,<br> require_partition_filter = bool,<br> }),<br> range_partitioning = object({<br> field = string,<br> range = object({<br> start = string,<br> end = string,<br> interval = string,<br> }),<br> }),<br> expiration_time = string,<br> max_staleness = optional(string),<br> labels = map(string),<br> }))</pre> |`[]`| no |
200
201
| max\_time\_travel\_hours | Defines the time travel window in hours |`number`|`null`| no |
201
202
| project\_id | Project where the dataset and table are created |`string`| n/a | yes |
203
+
| resource\_tags | A map of resource tags to add to the dataset |`map(string)`|`{}`| no |
202
204
| routines | A list of objects which include routine\_id, routine\_type, routine\_language, definition\_body, return\_type, routine\_description and arguments. | <pre>list(object({<br> routine_id = string,<br> routine_type = string,<br> language = string,<br> definition_body = string,<br> return_type = string,<br> description = string,<br> arguments = list(object({<br> name = string,<br> data_type = string,<br> argument_kind = string,<br> mode = string,<br> })),<br> }))</pre> |`[]`| no |
203
205
| tables | A list of objects which include table\_id, table\_name, schema, clustering, time\_partitioning, range\_partitioning, expiration\_time and labels. | <pre>list(object({<br> table_id = string,<br> description = optional(string),<br> table_name = optional(string),<br> schema = string,<br> clustering = list(string),<br> require_partition_filter = optional(bool),<br> time_partitioning = object({<br> expiration_ms = string,<br> field = string,<br> type = string,<br> }),<br> range_partitioning = object({<br> field = string,<br> range = object({<br> start = string,<br> end = string,<br> interval = string,<br> }),<br> }),<br> expiration_time = string,<br> deletion_protection = optional(bool),<br> labels = map(string),<br> }))</pre> |`[]`| no |
204
206
| views | A list of objects which include view\_id and view query | <pre>list(object({<br> view_id = string,<br> description = optional(string),<br> query = string,<br> use_legacy_sql = bool,<br> labels = map(string),<br> }))</pre> |`[]`| no |
Copy file name to clipboardexpand all lines: metadata.yaml
+98-91
Original file line number
Diff line number
Diff line change
@@ -52,78 +52,93 @@ spec:
52
52
location: examples/scheduled_queries
53
53
interfaces:
54
54
variables:
55
-
- name: access
56
-
description: An array of objects that define dataset access for one or more entities.
57
-
varType: any
58
-
defaultValue:
59
-
- role: roles/bigquery.dataOwner
60
-
special_group: projectOwners
61
55
- name: dataset_id
62
56
description: Unique ID for the dataset being provisioned.
63
57
varType: string
64
58
required: true
65
-
- name: dataset_labels
66
-
description: Key value pairs in a map for dataset labels
67
-
varType: map(string)
68
-
defaultValue: {}
69
59
- name: dataset_name
70
60
description: Friendly name for the dataset being provisioned.
71
61
varType: string
72
-
- name: default_table_expiration_ms
73
-
description: TTL of tables using the dataset in MS
74
-
varType: number
62
+
- name: description
63
+
description: Dataset description.
64
+
varType: string
65
+
- name: location
66
+
description: The regional location for the dataset only US and EU are allowed in module
67
+
varType: string
68
+
defaultValue: US
75
69
- name: delete_contents_on_destroy
76
70
description: (Optional) If set to true, delete all the tables in the dataset when destroying the resource; otherwise, destroying the resource will fail if tables are present.
77
71
varType: bool
78
72
- name: deletion_protection
79
73
description: Whether or not to allow deletion of tables and external tables defined by this module. Can be overriden by table-level deletion_protection configuration.
80
74
varType: bool
81
75
defaultValue: false
82
-
- name: description
83
-
description: Dataset description.
76
+
- name: default_table_expiration_ms
77
+
description: TTL of tables using the dataset in MS
78
+
varType: number
79
+
- name: max_time_travel_hours
80
+
description: Defines the time travel window in hours
81
+
varType: number
82
+
- name: project_id
83
+
description: Project where the dataset and table are created
84
84
varType: string
85
+
required: true
85
86
- name: encryption_key
86
87
description: Default encryption key to apply to the dataset. Defaults to null (Google-managed).
87
88
varType: string
88
-
- name: external_tables
89
-
description: A list of objects which include table_id, expiration_time, external_data_configuration, and labels.
89
+
- name: dataset_labels
90
+
description: Key value pairs in a map for dataset labels
91
+
varType: map(string)
92
+
defaultValue: {}
93
+
- name: resource_tags
94
+
description: A map of resource tags to add to the dataset
95
+
varType: map(string)
96
+
defaultValue: {}
97
+
- name: access
98
+
description: An array of objects that define dataset access for one or more entities.
99
+
varType: any
100
+
defaultValue:
101
+
- role: roles/bigquery.dataOwner
102
+
special_group: projectOwners
103
+
- name: tables
104
+
description: A list of objects which include table_id, table_name, schema, clustering, time_partitioning, range_partitioning, expiration_time and labels.
90
105
varType: |-
91
106
list(object({
92
-
table_id = string,
93
-
description = optional(string),
94
-
autodetect = bool,
95
-
compression = string,
96
-
ignore_unknown_values = bool,
97
-
max_bad_records = number,
98
-
schema = string,
99
-
source_format = string,
100
-
source_uris = list(string),
101
-
csv_options = object({
102
-
quote = string,
103
-
allow_jagged_rows = bool,
104
-
allow_quoted_newlines = bool,
105
-
encoding = string,
106
-
field_delimiter = string,
107
-
skip_leading_rows = number,
108
-
}),
109
-
google_sheets_options = object({
110
-
range = string,
111
-
skip_leading_rows = number,
107
+
table_id = string,
108
+
description = optional(string),
109
+
table_name = optional(string),
110
+
schema = string,
111
+
clustering = list(string),
112
+
require_partition_filter = optional(bool),
113
+
time_partitioning = object({
114
+
expiration_ms = string,
115
+
field = string,
116
+
type = string,
112
117
}),
113
-
hive_partitioning_options = object({
114
-
mode = string,
115
-
source_uri_prefix = string,
118
+
range_partitioning = object({
119
+
field = string,
120
+
range = object({
121
+
start = string,
122
+
end = string,
123
+
interval = string,
124
+
}),
116
125
}),
117
126
expiration_time = string,
118
-
max_staleness = optional(string),
119
127
deletion_protection = optional(bool),
120
128
labels = map(string),
121
129
}))
122
130
defaultValue: []
123
-
- name: location
124
-
description: The regional location for the dataset only US and EU are allowed in module
125
-
varType: string
126
-
defaultValue: US
131
+
- name: views
132
+
description: A list of objects which include view_id and view query
133
+
varType: |-
134
+
list(object({
135
+
view_id = string,
136
+
description = optional(string),
137
+
query = string,
138
+
use_legacy_sql = bool,
139
+
labels = map(string),
140
+
}))
141
+
defaultValue: []
127
142
- name: materialized_views
128
143
description: A list of objects which includes view_id, view_query, clustering, time_partitioning, range_partitioning, expiration_time and labels
129
144
varType: |-
@@ -153,13 +168,41 @@ spec:
153
168
labels = map(string),
154
169
}))
155
170
defaultValue: []
156
-
- name: max_time_travel_hours
157
-
description: Defines the time travel window in hours
158
-
varType: number
159
-
- name: project_id
160
-
description: Project where the dataset and table are created
161
-
varType: string
162
-
required: true
171
+
- name: external_tables
172
+
description: A list of objects which include table_id, expiration_time, external_data_configuration, and labels.
173
+
varType: |-
174
+
list(object({
175
+
table_id = string,
176
+
description = optional(string),
177
+
autodetect = bool,
178
+
compression = string,
179
+
ignore_unknown_values = bool,
180
+
max_bad_records = number,
181
+
schema = string,
182
+
source_format = string,
183
+
source_uris = list(string),
184
+
csv_options = object({
185
+
quote = string,
186
+
allow_jagged_rows = bool,
187
+
allow_quoted_newlines = bool,
188
+
encoding = string,
189
+
field_delimiter = string,
190
+
skip_leading_rows = number,
191
+
}),
192
+
google_sheets_options = object({
193
+
range = string,
194
+
skip_leading_rows = number,
195
+
}),
196
+
hive_partitioning_options = object({
197
+
mode = string,
198
+
source_uri_prefix = string,
199
+
}),
200
+
expiration_time = string,
201
+
max_staleness = optional(string),
202
+
deletion_protection = optional(bool),
203
+
labels = map(string),
204
+
}))
205
+
defaultValue: []
163
206
- name: routines
164
207
description: A list of objects which include routine_id, routine_type, routine_language, definition_body, return_type, routine_description and arguments.
165
208
varType: |-
@@ -178,45 +221,6 @@ spec:
178
221
})),
179
222
}))
180
223
defaultValue: []
181
-
- name: tables
182
-
description: A list of objects which include table_id, table_name, schema, clustering, time_partitioning, range_partitioning, expiration_time and labels.
183
-
varType: |-
184
-
list(object({
185
-
table_id = string,
186
-
description = optional(string),
187
-
table_name = optional(string),
188
-
schema = string,
189
-
clustering = list(string),
190
-
require_partition_filter = optional(bool),
191
-
time_partitioning = object({
192
-
expiration_ms = string,
193
-
field = string,
194
-
type = string,
195
-
}),
196
-
range_partitioning = object({
197
-
field = string,
198
-
range = object({
199
-
start = string,
200
-
end = string,
201
-
interval = string,
202
-
}),
203
-
}),
204
-
expiration_time = string,
205
-
deletion_protection = optional(bool),
206
-
labels = map(string),
207
-
}))
208
-
defaultValue: []
209
-
- name: views
210
-
description: A list of objects which include view_id and view query
0 commit comments