Hey team Meltano :wave: Do we have any way to isol...
# singer-tap-development
a
Hey team Meltano 👋 Do we have any way to isolate tap and target environments with meltano? Basically I have a pair of tap, target that needs different environments.
r
Can you explain your use-case and what you mean by isolating the tap and target? Generally, you would want to run these together in one command with
meltano run
, but there are other ways of doing this.
a
Yes. I too want to run them in a single command as you said. Right now, I have a tap and target on my local having their separate python venv. Currently, I invoke them from command line calling the relevant interpreter like
venv1/bin/tap-name | venv2/bin/target-name
r
So, just so I understand, you're not currently using Meltano to run your tap and target?
If you add your tap and target to a Meltano project, you can provide config for each in a number of ways (see here). If you want to provide alternate configuration depending on the context, your best bet will be environments. Of course, this applies only when using Meltano to manage this whole process, and not just invoking the plugin executables directly yourself.
t
If you install the tap and target into a Meltano project Meltano will create separate venvs for each. So you shouldn't need to worry about this at all.