Skip to content

Commit d00a630

Browse files
Docs: Update Postgres API used by TF Provider (#137)
Brings our template configurations up-to-date with our current provider API for Postgres sources and destinations.
1 parent 23198e8 commit d00a630

File tree

10 files changed

+30
-85
lines changed
  • airbyte_dbt_airflow_snowflake/infra/airbyte
  • airbyte_dbt_dagster/infra/airbyte
  • airbyte_dbt_prefect_snowflake/infra/airbyte
  • airbyte_dbt_snowflake_looker/infra/airbyte
  • database_snapshot/infra/airbyte/sources
  • low_latency_data_availability/infra/airbyte
  • mysql_to_postgres_incremental_stack/infra/airbyte
  • postgres_data_replication/infra/airbyte
  • postgres_snowflake_integration/infra/airbyte
  • postgres_to_mysql_migration/infra/airbyte

10 files changed

+30
-85
lines changed

airbyte_dbt_airflow_snowflake/infra/airbyte/main.tf

+3-9
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,13 @@ resource "airbyte_source_postgres" "postgres" {
1313
"...my_schema..."
1414
]
1515
ssl_mode = {
16-
source_postgres_ssl_modes_allow = {
17-
mode = "allow"
18-
}
16+
allow = {}
1917
}
2018
tunnel_method = {
21-
source_postgres_ssh_tunnel_method_no_tunnel = {
22-
tunnel_method = "NO_TUNNEL"
23-
}
19+
no_tunnel = {}
2420
}
2521
replication_method = {
26-
source_postgres_update_method_scan_changes_with_user_defined_cursor = {
27-
method = "Standard"
28-
}
22+
scan_changes_with_user_defined_cursor = {}
2923
}
3024
}
3125
name = "Postgres"

airbyte_dbt_dagster/infra/airbyte/main.tf

+3-11
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,12 @@ resource "airbyte_source_postgres" "postgres" {
1313
"...my_schema..."
1414
]
1515
ssl_mode = {
16-
source_postgres_ssl_modes_allow = {
17-
mode = "allow"
18-
}
16+
allow = {}
1917
}
2018
tunnel_method = {
21-
source_postgres_ssh_tunnel_method_no_tunnel = {
22-
tunnel_method = "NO_TUNNEL"
23-
}
24-
}
25-
replication_method = {
26-
source_postgres_replication_method_standard = {
27-
method = "Standard"
28-
}
19+
no_tunnel = {}
2920
}
21+
replication_method = {}
3022
}
3123
name = "Postgres"
3224
workspace_id = var.workspace_id

airbyte_dbt_prefect_snowflake/infra/airbyte/main.tf

+3-9
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,13 @@ resource "airbyte_source_postgres" "postgres" {
1313
"...my_schema..."
1414
]
1515
ssl_mode = {
16-
source_postgres_ssl_modes_allow = {
17-
mode = "allow"
18-
}
16+
allow = {}
1917
}
2018
tunnel_method = {
21-
source_postgres_ssh_tunnel_method_no_tunnel = {
22-
tunnel_method = "NO_TUNNEL"
23-
}
19+
no_tunnel = {}
2420
}
2521
replication_method = {
26-
source_postgres_update_method_scan_changes_with_user_defined_cursor = {
27-
method = "Standard"
28-
}
22+
scan_changes_with_user_defined_cursor = {}
2923
}
3024
}
3125
name = "Postgres"

airbyte_dbt_snowflake_looker/infra/airbyte/main.tf

+3-9
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,13 @@ resource "airbyte_source_postgres" "postgres" {
1313
"...my_schema..."
1414
]
1515
ssl_mode = {
16-
source_postgres_ssl_modes_allow = {
17-
mode = "allow"
18-
}
16+
allow = {}
1917
}
2018
tunnel_method = {
21-
source_postgres_ssh_tunnel_method_no_tunnel = {
22-
tunnel_method = "NO_TUNNEL"
23-
}
19+
no_tunnel = {}
2420
}
2521
replication_method = {
26-
source_postgres_update_method_scan_changes_with_user_defined_cursor = {
27-
method = "Standard"
28-
}
22+
scan_changes_with_user_defined_cursor = {}
2923
}
3024
}
3125
name = "Postgres"

database_snapshot/infra/airbyte/sources/main.tf

+3-9
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,13 @@ resource "airbyte_source_postgres" "postgres" {
1313
"...my_schema..."
1414
]
1515
ssl_mode = {
16-
source_postgres_ssl_modes_allow = {
17-
mode = "allow"
18-
}
16+
allow = {}
1917
}
2018
tunnel_method = {
21-
source_postgres_ssh_tunnel_method_no_tunnel = {
22-
tunnel_method = "NO_TUNNEL"
23-
}
19+
no_tunnel = {}
2420
}
2521
replication_method = {
26-
source_postgres_update_method_scan_changes_with_user_defined_cursor = {
27-
method = "Standard"
28-
}
22+
scan_changes_with_user_defined_cursor = {}
2923
}
3024
}
3125
name = "Postgres"

low_latency_data_availability/infra/airbyte/main.tf

+3-8
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,13 @@ resource "airbyte_source_postgres" "postgres" {
1313
"...my_schema..."
1414
]
1515
ssl_mode = {
16-
source_postgres_ssl_modes_allow = {
17-
mode = "allow"
18-
}
16+
allow = {}
1917
}
2018
tunnel_method = {
21-
source_postgres_ssh_tunnel_method_no_tunnel = {
22-
tunnel_method = "NO_TUNNEL"
23-
}
19+
no_tunnel = {}
2420
}
2521
replication_method = {
26-
source_postgres_update_method_read_changes_using_write_ahead_log_cdc = {
27-
method = "CDC"
22+
read_changes_using_write_ahead_log_cdc = {
2823
publication = "...pub..."
2924
replication_slot = "...slot..."
3025
}

mysql_to_postgres_incremental_stack/infra/airbyte/main.tf

+3-6
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,12 @@ resource "airbyte_destination_postgres" "my_destination_postgres" {
3333
password = "...my_password..."
3434
port = 5432
3535
schema = "public"
36+
ssl = true
3637
ssl_mode = {
37-
destination_postgres_ssl_modes_allow = {
38-
mode = "allow"
39-
}
38+
allow = {}
4039
}
4140
tunnel_method = {
42-
destination_postgres_ssh_tunnel_method_no_tunnel = {
43-
tunnel_method = "NO_TUNNEL"
44-
}
41+
no_tunnel = {}
4542
}
4643
username = "...my_username..."
4744
}

postgres_data_replication/infra/airbyte/main.tf

+3-8
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,13 @@ resource "airbyte_source_postgres" "postgres" {
1313
"...my_schema..."
1414
]
1515
ssl_mode = {
16-
source_postgres_ssl_modes_allow = {
17-
mode = "allow"
18-
}
16+
allow = {}
1917
}
2018
tunnel_method = {
21-
source_postgres_ssh_tunnel_method_no_tunnel = {
22-
tunnel_method = "NO_TUNNEL"
23-
}
19+
no_tunnel = {}
2420
}
2521
replication_method = {
26-
source_postgres_update_method_read_changes_using_write_ahead_log_cdc = {
27-
method = "CDC"
22+
read_changes_using_write_ahead_log_cdc = {
2823
publication = "...pub..."
2924
replication_slot = "...slot..."
3025
}

postgres_snowflake_integration/infra/airbyte/main.tf

+3-8
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,13 @@ resource "airbyte_source_postgres" "postgres" {
1313
"...my_schema..."
1414
]
1515
ssl_mode = {
16-
source_postgres_ssl_modes_allow = {
17-
mode = "allow"
18-
}
16+
allow = {}
1917
}
2018
tunnel_method = {
21-
source_postgres_ssh_tunnel_method_no_tunnel = {
22-
tunnel_method = "NO_TUNNEL"
23-
}
19+
no_tunnel = {}
2420
}
2521
replication_method = {
26-
source_postgres_update_method_read_changes_using_write_ahead_log_cdc = {
27-
method = "CDC"
22+
read_changes_using_write_ahead_log_cdc = {
2823
publication = "...pub..."
2924
replication_slot = "...slot..."
3025
}

postgres_to_mysql_migration/infra/airbyte/main.tf

+3-8
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,13 @@ resource "airbyte_source_postgres" "postgres" {
1313
"...my_schema..."
1414
]
1515
ssl_mode = {
16-
source_postgres_ssl_modes_allow = {
17-
mode = "allow"
18-
}
16+
allow = {}
1917
}
2018
tunnel_method = {
21-
source_postgres_ssh_tunnel_method_no_tunnel = {
22-
tunnel_method = "NO_TUNNEL"
23-
}
19+
no_tunnel = {}
2420
}
2521
replication_method = {
26-
source_postgres_update_method_read_changes_using_write_ahead_log_cdc = {
27-
method = "CDC"
22+
read_changes_using_write_ahead_log_cdc = {
2823
publication = "...pub..."
2924
replication_slot = "...slot..."
3025
}

0 commit comments

Comments
 (0)