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 datasource for privatelink endpoints #147

Closed b-per closed 1 year ago

b-per commented 1 year ago

Fixes part 1 of #146 by allowing people to retrieve information about their PrivateLink endpoints.

Especially, the id will be needed for part 2 of the issue, to create DW connections leveraging a PL connection.

As those connections can be read but not created, the acceptance test is behind an env var DBT_ACCEPTANCE_TEST_PRIVATE_LINK as it requires reading from existing resources rather than creating new ones.

Locally, with the env var added, the tests pass: image