@@ -203,6 +203,23 @@ resource "google_bigquery_dataset" "private" {
203
203
}
204
204
}
205
205
```
206
+ ## Example Usage - Bigquery Dataset External Reference Aws Docs
207
+
208
+
209
+ ``` hcl
210
+ resource "google_bigquery_dataset" "dataset" {
211
+ provider = google-beta
212
+ dataset_id = "example_dataset"
213
+ friendly_name = "test"
214
+ description = "This is a test description"
215
+ location = "aws-us-east-1"
216
+
217
+ external_dataset_reference {
218
+ external_source = "aws-glue://arn:aws:glue:us-east-1:999999999999:database/database"
219
+ connection = "projects/project/locations/aws-us-east-1/connections/connection"
220
+ }
221
+ }
222
+ ```
206
223
207
224
## Argument Reference
208
225
@@ -264,6 +281,11 @@ The following arguments are supported:
264
281
(Optional)
265
282
A user-friendly description of the dataset
266
283
284
+ * ` external_dataset_reference ` -
285
+ (Optional, [ Beta] ( https://terraform.io/docs/providers/google/guides/provider_versions.html ) )
286
+ Information about the external metadata storage where the dataset is defined.
287
+ Structure is [ documented below] ( #nested_external_dataset_reference ) .
288
+
267
289
* ` friendly_name ` -
268
290
(Optional)
269
291
A descriptive name for the dataset
@@ -449,6 +471,17 @@ destroying the resource will fail if tables are present.
449
471
A-Z), numbers (0-9), or underscores (_ ). The maximum length
450
472
is 256 characters.
451
473
474
+ <a name =" nested_external_dataset_reference " ></a >The ` external_dataset_reference ` block supports:
475
+
476
+ * ` external_source ` -
477
+ (Required)
478
+ External source that backs this dataset.
479
+
480
+ * ` connection ` -
481
+ (Required)
482
+ The connection id that is used to access the externalSource.
483
+ Format: projects/{projectId}/locations/{locationId}/connections/{connectionId}
484
+
452
485
<a name =" nested_default_encryption_configuration " ></a >The ` default_encryption_configuration ` block supports:
453
486
454
487
* ` kms_key_name ` -
0 commit comments