Kerroum Hamza
05/31/2024, 7:21 AMkapa.ai
05/31/2024, 7:21 AMbash
export OCTAVIA_ENABLE_TELEMETRY=True
export AIRBYTE_USERNAME=airbyte
export AIRBYTE_PASSWORD=password
2. Initialize the Project:
bash
mkdir airbyte-configuration && cd airbyte-configuration
octavia init
This will create the necessary directories and files:
plaintext
.
├── api_http_headers.yaml
├── connections
├── destinations
└── sources
### Import Existing Airbyte Configuration
If you have an existing Airbyte instance that you want to version control, you can import the configurations:
bash
octavia import all
This will populate the directories with your current configurations:
plaintext
.
├── api_http_headers.yaml
├── connections
│ └── postgres_to_bigquery
│ ├── configuration.yaml
│ └── state_819c7684-d353-45a1-b2e7-5eb42d8461c0.yaml
├── destinations
│ └── bigquery
│ ├── configuration.yaml
│ └── state_819c7684-d353-45a1-b2e7-5eb42d8461c0.yaml
└── sources
└── postgres
├── configuration.yaml
└── state_819c7684-d353-45a1-b2e7-5eb42d8461c0.yaml
### Version Control Your Configuration
After editing the YAML configuration files, you can use Git to version control your Airbyte configuration:
bash
git add .
git commit -m "Version control Airbyte configuration"
### Apply Configuration to a Different Instance
To apply these configurations to a different Airbyte instance, you can use the following command:
bash
octavia apply --airbyte-url <http://production.myairbyte.com> --force --airbyte-username YOUR_USERNAME --airbyte-password YOUR_PASSWORD
### Note
While Octavia CLI is useful, it is an alpha unofficial CLI and won't be maintained. Airbyte has released an official [Terraform Provider](https://registry.terraform.io/providers/airbytehq/airbyte/0.1.0), which is recommended for long-term use.
For more detailed steps and examples, you can refer to the [tutorial on version controlling Airbyte configurations](https://airbyte.com/tutorials/version-control-airbyte-configurations).kapa.ai
05/31/2024, 7:21 AMbash export OCTAVIA_ENABLE_TELEMETRY=True export AIRBYTE_USERNAME=airbyte export AIRBYTE_PASSWORD=password
2. Initialize the Project: bash mkdir airbyte-configuration && cd airbyte-configuration octavia init
This will create the necessary directories and files: plaintext . ├── api_http_headers.yaml ├── connections ├── destinations └── sources
### Import Existing Airbyte Configuration If you have an existing Airbyte instance that you want to version control, you can import the configurations: bash octavia import all
This will populate the directories with your current configurations: plaintext . ├── api_http_headers.yaml ├── connections │ └── postgres_to_bigquery │ ├── configuration.yaml │ └── state_819c7684-d353-45a1-b2e7-5eb42d8461c0.yaml ├── destinations │ └── bigquery │ ├── configuration.yaml │ └── state_819c7684-d353-45a1-b2e7-5eb42d8461c0.yaml └── sources └── postgres ├── configuration.yaml └── state_819c7684-d353-45a1-b2e7-5eb42d8461c0.yaml
### Version Control Your Configuration After editing the YAML configuration files, you can use Git to version control your Airbyte configuration: bash git add . git commit -m "Version control Airbyte configuration"
### Apply Configuration to a Different Instance To apply these configurations to a different Airbyte instance, you can use the following command: bash octavia apply --airbyte-url <http://production.myairbyte.com> --force --airbyte-username YOUR_USERNAME --airbyte-password YOUR_PASSWORD
### Note While Octavia CLI is useful, it is an alpha unofficial CLI and won't be maintained. Airbyte has released an official [Terraform Provider](https://registry.terraform.io/providers/airbytehq/airbyte/0.1.0), which is recommended for long-term use. For more detailed steps and examples, you can refer to the [tutorial on version controlling Airbyte configurations](https://airbyte.com/tutorials/version-control-airbyte-configurations). By following these steps, you can effectively version control your Airbyte configurations without using the Terraform provider.Kerroum Hamza
05/31/2024, 8:01 AM