mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-01 16:21:06 +00:00
Allow bigquery regional location (#1496)
* Allow bigquery regional location * remove stale comment about location
This commit is contained in:
parent
3cc868b4a9
commit
d360236a8d
@ -65,14 +65,13 @@ func resourceBigQueryDataset() *schema.Resource {
|
||||
},
|
||||
|
||||
// Location: [Experimental] The geographic location where the dataset
|
||||
// should reside. Possible values include EU and US. The default value
|
||||
// is US.
|
||||
// should reside.
|
||||
"location": {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
ForceNew: true,
|
||||
Default: "US",
|
||||
ValidateFunc: validation.StringInSlice([]string{"US", "EU"}, false),
|
||||
ValidateFunc: validation.StringInSlice([]string{"US", "EU", "asia-northeast1"}, false),
|
||||
},
|
||||
|
||||
// DefaultTableExpirationMs: [Optional] The default lifetime of all
|
||||
|
@ -44,9 +44,17 @@ The following arguments are supported:
|
||||
* `description` - (Optional) A user-friendly description of the dataset.
|
||||
|
||||
* `location` - (Optional) The geographic location where the dataset should reside.
|
||||
See [official docs](https://cloud.google.com/bigquery/docs/dataset-locations).
|
||||
|
||||
Possible values include `EU` and `US`. The default value is `US`.
|
||||
There are two types of locations, regional or multi-regional.
|
||||
A regional location is a specific geographic place, such as Tokyo, and a
|
||||
multi-regional location is a large geographic area, such as the United States,
|
||||
that contains at least two geographic places
|
||||
|
||||
Possible regional values include: `asia-northeast1`
|
||||
Possible multi-regional values:`EU` and `US`.
|
||||
|
||||
The default value is multi-regional location `US`.
|
||||
Changing this forces a new resource to be created.
|
||||
|
||||
* `default_table_expiration_ms` - (Optional) The default lifetime of all
|
||||
|
Loading…
Reference in New Issue
Block a user