Commit Graph

18 Commits

Author SHA1 Message Date
Chaitanya Prakash N
585dab3e6f Removing validation function from BQ dataset resource and reducing the number of redundant test cases for BQ regional location (#3406) 2019-04-11 11:29:45 -07:00
Chen Zhiling
edb9530ae7 Add force_destroy option to bigquery dataset (#2986)
* Add force_destroy option to bigquery dataset

* Change option name to force_destroy

* Rename option to delete_contents_on_destroy

* Add option description

* Add tests for dataset with content added in

* Add diff suppress func
2019-02-08 09:09:14 -08:00
Mike Fowler
305d3483a5 Additional bigquery locations (#2566)
* Add new regional BigQuery locations.

Three more regional locations are supported by BigQuery however the
current validation rejects them.

* Document new regional locations of BigQuery

* More regions have since been added.

$ make testacc TEST=./google TESTARGS='-run=TestAccBigQueryDataset'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./google -v -run=TestAccBigQueryDataset -timeout 120m -ldflags="-X=github.com/terraform-providers/terraform-provider-google/version.ProviderVersion=acc"
=== RUN   TestAccBigQueryDataset_basic
=== RUN   TestAccBigQueryDataset_access
=== RUN   TestAccBigQueryDataset_regionalLocation
--- PASS: TestAccBigQueryDataset_basic (7.77s)
--- PASS: TestAccBigQueryDataset_access (13.74s)
--- PASS: TestAccBigQueryDataset_regionalLocation (93.68s)
PASS
ok      github.com/terraform-providers/terraform-provider-google/google 93.731s
2018-12-21 12:24:12 -08:00
The Magician
c605b0bc4b [Terraform]: Apply gofmt -s to all files managed by MM (#2676)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
Adrián Matellanes
8543521b75 Add defaultPartitionExpirationMs field to google_bigquery_dataset resource (#2287)
Add [`defaultPartitionExpirationMs`](https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets) to [`google_bigquery_dataset`](https://www.terraform.io/docs/providers/google/r/bigquery_dataset.html) resource.
2018-12-20 17:22:22 -08:00
Chris Stephens
f745e5f178 Change BigQuery access list to a set 2018-12-20 17:22:22 -08:00
Murcurio
ae4cfab1cc Added London and Sydney BigQuery regions 2018-12-20 17:22:22 -08:00
Nathan McKinley
902675c324 Reverting 1.20 and 1.19 cherrypick branches. 2018-12-20 17:22:22 -08:00
Murcurio
7da3ae346a Added London and Sydney BigQuery regions 2018-12-12 17:23:35 -08:00
Chris Morgan
55991833f4 #644 Add Support For BigQuery Access Control (#1931)
* Updates based on PR comments

* Fix markdown nested list

* Second round of feedback

* Clarify pick one docs
2018-09-11 12:27:10 -07:00
Walker
c810e4b408 provider: Ensures schema.TypeMap elements are schema.Schema (#1835) 2018-08-14 16:53:39 -07:00
Dana Hoffman
f0c5b34a1d
add error checking for bigquery dataset id (#1638)
* add error checking for bigquery dataset id

* use existing regexes for import validation
2018-06-11 14:20:11 -07:00
emily
d360236a8d
Allow bigquery regional location (#1496)
* Allow bigquery regional location

* remove stale comment about location
2018-05-15 14:36:12 -07:00
James McGill
bc266979d4 Revert "Ensure Elem is always either a *Schema or *Resource (#929)" (#950)
This reverts commit a3352655ac.
2018-01-12 10:09:06 -08:00
James McGill
a3352655ac Ensure Elem is always either a *Schema or *Resource (#929)
* Ensure Elem is always either a *Schema or *Resource

* Revert vendor file
2018-01-08 12:48:26 -08:00
Vincent Roseberry
6c5d6b72e0
Store project and region in state (#784)
* Store project and region in state

* Delete unused project in runtimeconfig_variable
2017-11-27 16:32:20 -08:00
James McGill
d23e9c668f Support Bigquery Views (#230)
* Support views in Terraform.BigQuery

* Add tests for Table with view, and fix existing Table test

* Remove dead code

* run gofmt

* Address comments

* Address review comments and add support for use_legacy_sql

* Force transmission/storage of UseLegacySQL

* Trying to fix tests

* add tests for useLegacySQL
2017-08-26 17:15:44 +09:00
Jake Champlin
66029ac431
Transfer google provider 2017-06-06 11:58:51 -04:00