Hi, I'm having problems with the env var substitut...
# replication-troubleshooting
m
Hi, I'm having problems with the env var substitution when using Octavia. env
Copy code
❯ env | grep DWH
DWH_DATABASE=bi2
yaml
Copy code
configuration:
  database: ${DWH_DATABASE}
apply
Copy code
❯ octavia apply -f destinations/dwh_v2/configuration.yaml --force
πŸ™ - Octavia is targetting your Airbyte instance running at http://host.docker.internal:9999 on workspace 52ee3a28-e1bc-426e-b0d7-8f04803ee7c0.
πŸ™ - DWH-V2 exists on your Airbyte instance according to your state file, let's check if we need to update it!
🚨 - Running update because the force mode is activated.
πŸŽ‰ - Successfully updated DWH-V2 on your Airbyte instance!
πŸ’Ύ - New state for DWH-V2 stored at destinations/dwh_v2/state_52ee3a28-e1bc-426e-b0d7-8f04803ee7c0.yaml.
Result:
Is Octavia enabled to read from env variables?
m
Yes, it can read from env variables see docs: https://docs.airbyte.com/cli-documentation#secret-management if I’m not wrong only env variables stored in the .octavia file though
πŸ‘ 1
m
Hmm, that's not really env vars then ;) more like just reading a config file. I guess it's something to do with the docker execution?
m
you’re correct
l
Hi Mark, I found that it worked for secrets but not for plaintext fields on my setup. Keen to see if this is possible though as it would be very helpful for bulk-updating similar connectors!