<@U04S8PLJWMT> Is there a way to cooy the terrafor...
# ask-ai
j
@kapa.ai Is there a way to cooy the terraform configuration of a connection setup in airbytte
k
Yes. For destinations (and similarly for sources) you can create the configuration in the Airbyte UI and then use the Copy JSON button to export the connector configuration as a JSON string, which you can paste into your Terraform code or API calls.[[Add destination 1.7](https://docs.airbyte.com/platform/1.7/using-airbyte/getting-started/add-a-destination); [Add destination 1.6](https://docs.airbyte.com/platform/1.6/using-airbyte/getting-started/add-a-destination)] What you don’t get is a full Terraform resource block auto-generated for you; the UI only provides the JSON config payload. The tutorials show that you still need to wire that JSON into your own Terraform files (
<http://provider.tf|provider.tf>
,
<http://main.tf|main.tf>
,
<http://variables.tf|variables.tf>
) when defining sources, destinations, and connections.[[E‑commerce Terraform](https://airbyte.com/tutorials/building-an-e-commerce-data-pipeline-a-hands-on-guide-to-using-airbyte-dbt-dagster-and-bigquery)]
j
is their a copy json for the conneciton and streams though
@kapa.ai is there a copy json for the connection and streams
k
A message from kapa.ai
Based on the docs, the Copy JSON button is explicitly documented only for sources and destinations, not for connections (including their streams).[[Add sources](https://docs.airbyte.com/platform/using-airbyte/getting-started/add-a-source); [Add destinations](https://docs.airbyte.com/platform/using-airbyte/getting-started/add-a-destination)] Release notes also describe Copy JSON as a connector-level feature (“All connectors now have a Copy JSON button”), again with an example for a source connector configuration, not a connection.[[Airbyte 1.6](https://docs.airbyte.com/release_notes/v-1.6)] The knowledge sources do not mention any “Copy JSON” (or similar one-click export) specifically for: - a connection object, or - the streams / schema selection within a connection. So, from the available documentation, there is no documented way to copy the full Terraform/JSON configuration of a connection and its streams via a Copy JSON button.