garret_cree
04/28/2023, 3:16 PM!include
statements in the meltano.yml file? Or any other way of bringing in other YAML files into the main config?pat_nadolny
04/28/2023, 3:43 PMgarret_cree
04/28/2023, 3:53 PMpat_nadolny
04/28/2023, 3:57 PMMatt Menzenski
04/28/2023, 4:43 PMmeltano-yml
directory
meltano-yml
├── environments
│ ├── ca-prod.meltano.yml
│ ├── ca-staging.meltano.yml
│ ├── dev.meltano.yml
│ ├── prod.meltano.yml
│ ├── staging.meltano.yml
│ └── system.meltano.yml
├── extractors
│ ├── tap-campaign-monitor.meltano.yml
│ ├── tap-github.meltano.yml
│ ├── tap-google-analytics-v4.meltano.yml
│ ├── tap-google-analytics.meltano.yml
│ ├── tap-jira.meltano.yml
│ ├── tap-mailchimp.meltano.yml
│ ├── tap-meltano.meltano.yml
│ ├── tap-mongodb.meltano.yml
│ ├── tap-pendo.meltano.yml
│ ├── tap-quickbooks.meltano.yml
│ ├── tap-salesforce.meltano.yml
│ ├── tap-spreadsheets-anywhere.meltano.yml
│ ├── tap-tableau.meltano.yml
│ └── tap-zendesk.meltano.yml
├── loaders
│ ├── target-jsonl.meltano.yml
│ ├── target-postgres.meltano.yml
│ └── target-redshift.meltano.yml
└── utilities
├── dbt-postgres.meltano.yml
├── dbt-redshift.meltano.yml
├── great_expectations.meltano.yml
└── sqlfluff.meltano.yml
5 directories, 27 files
And then include them all at the beginning of our meltano.yml
file:
version: 1
include_paths:
- ./meltano-yml/environments/ca-prod.meltano.yml
- ./meltano-yml/environments/ca-staging.meltano.yml
- ./meltano-yml/environments/dev.meltano.yml
- ./meltano-yml/environments/prod.meltano.yml
- ./meltano-yml/environments/staging.meltano.yml
- ./meltano-yml/environments/system.meltano.yml
- ./meltano-yml/extractors/tap-campaign-monitor.meltano.yml
- ./meltano-yml/extractors/tap-github.meltano.yml
- ./meltano-yml/extractors/tap-google-analytics-v4.meltano.yml
- ./meltano-yml/extractors/tap-google-analytics.meltano.yml
- ./meltano-yml/extractors/tap-jira.meltano.yml
- ./meltano-yml/extractors/tap-mailchimp.meltano.yml
- ./meltano-yml/extractors/tap-meltano.meltano.yml
- ./meltano-yml/extractors/tap-mongodb.meltano.yml
- ./meltano-yml/extractors/tap-pendo.meltano.yml
- ./meltano-yml/extractors/tap-quickbooks.meltano.yml
- ./meltano-yml/extractors/tap-salesforce.meltano.yml
- ./meltano-yml/extractors/tap-spreadsheets-anywhere.meltano.yml
- ./meltano-yml/extractors/tap-tableau.meltano.yml
- ./meltano-yml/extractors/tap-zendesk.meltano.yml
- ./meltano-yml/loaders/target-jsonl.meltano.yml
- ./meltano-yml/loaders/target-postgres.meltano.yml
- ./meltano-yml/loaders/target-redshift.meltano.yml
- ./meltano-yml/utilities/dbt-postgres.meltano.yml
- ./meltano-yml/utilities/dbt-redshift.meltano.yml
- ./meltano-yml/utilities/great_expectations.meltano.yml
- ./meltano-yml/utilities/sqlfluff.meltano.yml
default_environment: dev
Matt Menzenski
04/28/2023, 4:44 PMinclude_paths:
- ./meltano-yml/**/*.meltano.yml
I don’t believe globbing is supported.taylor
04/28/2023, 4:53 PMtaylor
04/28/2023, 4:53 PMinclude_paths:
- "./subconfig_[0-9].yml"
- "./*/subconfig_[0-9].yml"
- "./*/**/subconfig_[0-9].yml"
Matt Menzenski
04/28/2023, 4:53 PMMatt Menzenski
04/28/2023, 4:53 PMMatt Menzenski
05/01/2023, 3:21 PM