It is possible to use the YAML export from a custom connection in terraform? #39397
-
Topicterraform builder custom Relevant informationHello everyone, I'm trying to migrate our Airbyte infrastructure (OSS, self-hosted) to terraform, and I'm a bit unclear of how to handle the connections we've created in the Builder. I see there is a TIA |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
When declaring custom sources, you need to reference its The Would translate into this
|
Beta Was this translation helpful? Give feedback.
-
I've got it to work something like this: Resource:
|
Beta Was this translation helpful? Give feedback.
When declaring custom sources, you need to reference its
SourceDefinitonId
in thedefinition_id
Terraform field. This value can be found using the configuration API and the connector_builder_projects/list endpoint, if it is a low- or no-code source. If you have imported a custom docker source, you can use the source_definitions/list endpoint.The
configuration
block in the TF resource is simply a json encoded dictionary-like object with the keys and values needed (mirror what you see in the UI). For example, this source's UI configuration:Would translate into this
configuration
block: