A Bigquery Analytics Hub data exchange
To get more information about DataExchange, see:
resource "google_bigquery_analytics_hub_data_exchange" "data_exchange" {
location = "US"
data_exchange_id = "my_data_exchange"
display_name = "my_data_exchange"
description = "example data exchange"
}
The following arguments are supported:
data_exchange_id
-
(Required)
The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces.
location
-
(Required)
The name of the location this data exchange.
display_name
-
(Required)
Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and must not start or end with spaces.
description
-
(Optional)
Description of the data exchange.
primary_contact
-
(Optional)
Email or URL of the primary point of contact of the data exchange.
documentation
-
(Optional)
Documentation describing the data exchange.
icon
-
(Optional)
Base64 encoded image representing the data exchange.
project
- (Optional) The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
In addition to the arguments listed above, the following computed attributes are exported:
id
- an identifier for the resource with format projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}
name
-
The resource name of the data exchange, for example:
"projects/myproject/locations/US/dataExchanges/123"
listing_count
-
Number of listings contained in the data exchange.
This resource provides the following Timeouts configuration options:
create
- Default is 20 minutes.update
- Default is 20 minutes.delete
- Default is 20 minutes.DataExchange can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}
{{project}}/{{location}}/{{data_exchange_id}}
{{location}}/{{data_exchange_id}}
{{data_exchange_id}}
In Terraform v1.5.0 and later, use an import
block to import DataExchange using one of the formats above. For example:
import {
id = "projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}"
to = google_bigquery_analytics_hub_data_exchange.default
}
When using the terraform import
command, DataExchange can be imported using one of the formats above. For example:
$ terraform import google_bigquery_analytics_hub_data_exchange.default projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}
$ terraform import google_bigquery_analytics_hub_data_exchange.default {{project}}/{{location}}/{{data_exchange_id}}
$ terraform import google_bigquery_analytics_hub_data_exchange.default {{location}}/{{data_exchange_id}}
$ terraform import google_bigquery_analytics_hub_data_exchange.default {{data_exchange_id}}
This resource supports User Project Overrides.