Hi Everyone, Is it possible to store `select:` and...
# getting-started
v
Hi Everyone, Is it possible to store
select:
and
metadata:
in a separate file instead of including them directly in the
meltano.yml
file?
Copy code
plugins:
  extractors:
  - name: tap-postgres
    variant: meltanolabs
    pip_url: meltanolabs-tap-postgres
    config:
      host: localhost
      port: 5432
      user: postgres
      password: '123123'
      database: postgres
      filter_schemas: [public]
    select:
    - public-work_orders.*
    - public-trips.*
    metadata:
      public-work_orders:
        replication_method: "INCREMENTAL"
        replication_key: created_at
      public-trips:
        replication_method: "INCREMENTAL"
        replication_key: created_at
e
Hi @Vinay Mahindrakar. You can use include files to put a separate environment in a YAML file. You could also use, for example, the
TAP_POSTGRES__SELECT='["public-work_orders.*", "public-trips.*"]'
env var in your
.env
file. I guess it depends on the motivation for putting those values in a separate file.
đź‘€ 1
👍 1