Alain De Bortoli
10/02/2025, 8:40 PMconfigurations = {
streams = [
{
name = "users"
sync_mode = "incremental_deduped_history"
cursor_field = [
"_ab_cdc_cursor"
]
primary_key = [
[
"userid"
]
]
}
]
}kapa.ai
10/02/2025, 8:41 PMAlain De Bortoli
10/02/2025, 8:48 PMkapa.ai
10/02/2025, 8:48 PMkapa.ai
10/02/2025, 8:48 PMconfigurations.streams block for a Terraform Airbyte connection where the source is MsSQL and the destination is Postgres. The available documentation and tutorials show general patterns for configuring connections and streams, but do not include a concrete, full example for this specific source/destination pair. The closest available examples use other sources (like Stripe, Postgres, or MySQL) and destinations (like BigQuery or Postgres), and they demonstrate the general structure for defining streams and sync modes in Terraform, but not specifically for MsSQL to Postgres. For example: hcl resource "airbyte_connection" "stripe_to_bigquery" { name = "Stripe to BigQuery" source_id = airbyte_source_stripe.my_source_stripe.source_id destination_id = airbyte_destination_bigquery.my_destination_bigquery.destination_id # Stream configurations would go here } [Terraform provider documentation](https://docs.airbyte.com/platform/1.6/terraform-documentation#step-4-create-a-connection) If you need a template, you can adapt the general structure, but you will need to refer to the [Terraform provider reference](https://registry.terraform.io/providers/airbytehq/airbyte/latest/docs/resources/connection) and ensure your stream names, sync modes, and fields match your actual MsSQL source and Postgres destination schemas. Summary: There is no MsSQL-to-Postgres-specific configurations.streams example in the knowledge sources. Please consult the official Airbyte Terraform provider documentation for the most up-to-date and detailed configuration options.