shailesh
08/26/2022, 12:34 PMedgar_ramirez_mondragon
08/26/2022, 2:41 PMmeltano.yml look like?shailesh
08/26/2022, 2:44 PMshailesh
08/26/2022, 2:44 PMedgar_ramirez_mondragon
08/26/2022, 2:49 PMedgar_ramirez_mondragon
08/26/2022, 3:08 PMaaronsteers
08/26/2022, 4:24 PMnadiia_kotelnikova
09/01/2022, 10:30 AMmeltano.yml should look like if i don’t need an environment?aaronsteers
09/01/2022, 5:05 PMdev environment with no settings overrides using meltano environment add dev . Or if you don't want to change meltano.yml at all, you should be able to use --no-environment in the command line to explicitly ignore the pre-programmed default.aaronsteers
09/01/2022, 5:06 PMnadiia_kotelnikova
09/02/2022, 6:10 AMmeltano install does not have --no-environment option and can not solve the issue.nadiia_kotelnikova
09/02/2022, 6:23 AMmeltano.yml is acceptable?
version: 1
send_anonymous_usage_stats: false
project_id: 02d112a8-f925-4448-a962-b1411cd3b301
environments:
- name: dev
config:
plugins:
extractors:
- name: tap-github
config:
organizations: [MeltanoLabs]
select: ["repositories.*"]
loaders:
- name: target-snowflake
config:
dbname: dev
warehouse: dev_wh
batch_size_rows: 1000
plugins:
orchestrators:
- name: airflow
pip_url: psycopg2-binary apache-airflow==2.3.3 --constraint <https://raw.githubusercontent.com/apache/airflow/constraints-2.3.3/constraints-${MELTANO__PYTHON_VERSION}.txt>
files:
- name: airflow
pip_url: git+<https://github.com/meltano/files-airflow.git>
extractors:
- name: tap-postgres
variant: transferwise
settings:
- name: filter_schemas
value: public
- name: default_replication_method
value: FULL_TABLE
- name: ssl
value: true
The example of dev env were taken from the Meltano docs. I can see the config section there. Should it be changed to settings same way i did in no-environment config section?aaronsteers
09/02/2022, 10:05 PMplugins definition should still be the primary reference for all the plugins in your project.aaronsteers
09/02/2022, 10:09 PMtarget-snowflake and tap-github under plugins, as I don't see them there as of now. (Or if this is just the top of the file and those are still listed, you can disregard this point. 🙂)aaronsteers
09/02/2022, 10:11 PMplugins entry (just as before) and override just those components you may want to tweak for a specific execution context (prod, dev, localtest, etc).
Hope this helps!nadiia_kotelnikova
09/03/2022, 1:31 PMA general practice is to keep all of your config under the mainentry (just as before) and override just those components you may want to tweak for a specific execution context (prod, dev, localtest, etc).plugins
Hope this helps!Thanks @aaronsteers this explains a lot!