dbt-labs / terraform-provider-dbtcloud

dbt Cloud Terraform Provider
https://registry.terraform.io/providers/dbt-labs/dbtcloud
MIT License
82 stars 19 forks source link

Add resource and data source for `dbt_cloud_bigquery_credential` #116

Closed b-per closed 1 year ago

b-per commented 1 year ago

Adding support for dbt_cloud_bigquery_credential leveraging the same logic as dbt_cloud_snowflake_credential

Test output for the resource:

Running tool: /opt/homebrew/bin/go test -timeout 30s -run ^TestAccDbtCloudBigQueryCredentialResource$ github.com/gthesheep/terraform-provider-dbt-cloud/pkg/resources -v

=== RUN   TestAccDbtCloudBigQueryCredentialResource
--- PASS: TestAccDbtCloudBigQueryCredentialResource (8.23s)
PASS
ok      github.com/gthesheep/terraform-provider-dbt-cloud/pkg/resources 8.850s

> Test run finished at 3/9/2023, 7:42:19 PM <

Test output for the data source:

Running tool: /opt/homebrew/bin/go test -timeout 30s -run ^TestAccDbtCloudBigQueryCredentialDataSource$ github.com/gthesheep/terraform-provider-dbt-cloud/pkg/data_sources -v

=== RUN   TestAccDbtCloudBigQueryCredentialDataSource
=== PAUSE TestAccDbtCloudBigQueryCredentialDataSource
=== CONT  TestAccDbtCloudBigQueryCredentialDataSource
--- PASS: TestAccDbtCloudBigQueryCredentialDataSource (7.55s)
PASS
ok      github.com/gthesheep/terraform-provider-dbt-cloud/pkg/data_sources      8.070s

> Test run finished at 3/9/2023, 7:43:27 PM <

I generated the docs as well for the resource and data source

GtheSheep commented 1 year ago

/ok-to-test sha=2ef1b41