I’m trying to add private GitLab repo for a plugin...
# troubleshooting
a
I’m trying to add private GitLab repo for a plugin which requires a token. I’m wanting to use an env var within the
pip_url
to supply the token, but for some reason I can’t get the env var to render in my
meltano.yaml
— does anyone have a suggestion or work around?
This is what I have:
Copy code
- name: tap-custom
    pip_url: private-tap-custom --extra-index-url ${PIP_URL}
I can hardcode the
extra-index-url
and run
meltano install
and it works as expected — once I start adding env vars it wont render in the yaml and results in an error
v
Does env expansion work in pip_urls / things under plugins? I'm not sure if it does
a
this worked!
I set the URL to the pre-defined env var
PIP_INDEX_URL
Ugh… I can’t believe I missed this on the docs.. I was searching and searching only to see it on the General Usage page 😆 — thank you so much!
v
No problem at all I think I always search for repo, pip url as well and forget to type index in. I only remembered because you had index already!