terraform-provider-airbyte
terraform-provider-airbyte copied to clipboard
airbyte_source_postgres on Airbyte Cloud - ssl & tunnel_method & replication method issue
Hi,
Terraform version: v1.5.5 airbyte provider version: v0.3.2
I'm trying this provider and I have the following configuration in my terraform project:
When applying this code, I get the following error from the Airbyte API:
I tried by changing the method from "source_postgres_ssl_modes_require" to "source_postgres_update_ssl_modes_require" for example. I get the following code:
This time the API accepted and created the resource.
However, in the Airbyte Cloud UI, it seems the source connection is not correctly configured. It did not take into account the following properties: SSL, Tunnel method and Replication method.
It then prevents me from creating a connection with this connector as a source. I receive an unexpected error while trying to create a connection.
Similar issue here too. I can set NO SSL and NO TUNNEL settings using the TF provider, but as shown in the screenshots above, it seems to be ignore. Additionally, if I test the connection, it fails (the connection test). However, if I manually set NO SSL and NO TUNNEL in the UI and change nothing else, the test connection suceeds.
I have similar issue with source_postgres_replication_method_logical_replication_cdc
tf plugin sends requests with "replication_method":null
I am also running into this when I set ssl_mode as require and CDC enabled. I get a HTTP 422 and the provider sends a requrest with ssl_mode and CDC as null...