Terraform Connector Config: Import all Existing and Future Tables #40600
Unanswered
jduckwo
asked this question in
Connector Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am doing a POC to load all tables from one Postgres database to another Postgres database. I am configuring the resources using Terraform. I would like to have all existing and future tables to be synced automatically once they are added to the Source PG Publication. I don't want to manually configure each stream in Terraform code manually.
I have the Source, Destination and Connection resources working in general. Where I am running into an issue is getting the existing and future streams to automatically load without needing to be hard coded in the
configurations.streams
section. If I omit that section altogether, nothing will load at all. When I manually configure one stream it will load that specific stream, but the other existing streams will not load unless I configure them manually or turn them on in the GUI.When I set up a connection through the GUI, when I select all streams then any new streams get picked up automatically on future job runs. How do I configure this behaviour via Terraform.
Source Config
Destination Config
Connection Config
Beta Was this translation helpful? Give feedback.
All reactions