fivetran / terraform-provider-fivetran

Terraform Provider for Fivetran
https://fivetran.com
Apache License 2.0
40 stars 23 forks source link

Add PrivateLink resource #301

Open captainjack64 opened 5 months ago

captainjack64 commented 5 months ago

It seems that Fivetran recently added ability to create PrivateLink connections via its API.

https://fivetran.com/docs/rest-api/private-links-management

It's in private preview but should be available for all soon. Is there a plan to add this to Terraform provider?

beevital commented 5 months ago

Hey @captainjack64 ! We are working on it already.

captainjack64 commented 4 months ago

@beevital is there an ETA on when PrivateLink will be supported?

beevital commented 3 months ago

@captainjack64 we prepared a draft PR to support private links, but we can't publish it until it overcomes Private Preview stage on API side. Once we clarify that the API contract is solid and won't be changed - we will publish appropriate resources.

natemellendorf commented 2 months ago

Any update on this request?

I see that the API supports creating connectors with a private_link_id, but it's not a valid param to be passed into the TF provider. Was curious if this is looking to be merged in anytime soon.

https://fivetran.com/docs/rest-api/connectors#createaconnector

Else, we need to configure our connectors via API directly. It seems possible, but it would be ideal to just use the TF provider and keep everything in sync / in one place (terraform)

captainjack64 commented 2 months ago

Any update on this request?

I got fed up waiting, so I used Terraform's REST API provider to do the creation via API through Terraform. A bit hacky but it works fine.