File tree 1 file changed +14
-1
lines changed
mmv1/third_party/terraform/services/bigquery
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ func TestAccBigQueryDataset_withProvider5(t *testing.T) {
166
166
CheckDestroy : testAccCheckBigQueryDatasetDestroyProducer (t ),
167
167
Steps : []resource.TestStep {
168
168
{
169
- Config : testAccBigQueryDataset_withoutLabels (datasetID ),
169
+ Config : testAccBigQueryDataset_withoutLabelsV4 (datasetID ),
170
170
ExternalProviders : oldVersion ,
171
171
Check : resource .ComposeTestCheckFunc (
172
172
resource .TestCheckNoResourceAttr ("google_bigquery_dataset.test" , "labels.%" ),
@@ -509,6 +509,19 @@ resource "google_bigquery_dataset" "test" {
509
509
` , datasetID )
510
510
}
511
511
512
+ func testAccBigQueryDataset_withoutLabelsV4 (datasetID string ) string {
513
+ return fmt .Sprintf (`
514
+ resource "google_bigquery_dataset" "test" {
515
+ dataset_id = "%s"
516
+ friendly_name = "foo"
517
+ description = "This is a foo description"
518
+ location = "EU"
519
+ default_partition_expiration_ms = 3600000
520
+ default_table_expiration_ms = 3600000
521
+ }
522
+ ` , datasetID )
523
+ }
524
+
512
525
func testAccBigQueryDataset (datasetID string ) string {
513
526
return fmt .Sprintf (`
514
527
resource "google_bigquery_dataset" "test" {
You can’t perform that action at this time.
0 commit comments