Updating Airbyte connection configurations using SDK without UI for Airbyte open source deployed on VM machine

Summary

The user is inquiring about the possibility of updating Airbyte connection configurations programmatically using SDK without using the UI for the Airbyte open source platform deployed on a VM machine.


Question

Can we update airbyte connection configurations using sdk (without UI) for airbyte open source ( deployed on a vm machine ) ?



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

["update", "airbyte", "connection-configurations", "SDK", "API", "open-source", "VM-machine"]

You can use the Terraform provider https://registry.terraform.io/providers/airbytehq/airbyte/latest/docs

Reason being I want to update ( dates or access token of source connection) before running sync from airflow. I guess terraform will create the whole connection again. If i am understanding it correctly?

You can import the connection into terraform if you don’t want it to be recreated.

https://registry.terraform.io/providers/airbytehq/airbyte/latest/docs/resources/connection#import

Can we change source connection configuration using python script ?

Or maybe curl command ?

You can use the Rest API with any http client

Even for open source airbyte correct ?

Yes, you just have to point it to the endpoint of your OSS api server