Is anyone programmatically generating Meltano YAML...
# infra-deployment
m
Is anyone programmatically generating Meltano YAML project files? I’ve been doing this for a long time in an adhoc way (scaffold tap definitions for 130 databases, or 80 google analytics projects, etc) but we’re scaling out our Meltano infra, we’ll have a lot more tap and target definitions to manage, and I’m interested in any prior art in this area. For example: does the
meltano
python package expose project file schemas? Could I generate a YAML file and then validate it against that schema?
but, unclear if that’s accessible in a python project that depends on the
meltano
package (I’ll need to test this)
e
Yeah, the schema file is distributed with the Meltano package (both wheel and sdist include it) since it's used by
meltano compile
.
👍 1
I'm also curious about exploring https://pkl-lang.org/ for this type of thing. Essentially there'd be a remote meltano module and people could import it into their own pkl project to generate a
meltano.yml