I'm unable to pass in environment variables for pa...
# help-api-cli-orchestration
j
I'm unable to pass in environment variables for passwords... My
~/.octavia
file looks a bit like this:
Copy code
AIRBYTE_URL=<http://localhost:8000>
DEV_PASSWORD=12345_not_real
And in the
source
file I have
Copy code
resource_name: test_apply_deakin
definition_type: source
definition_id: b39a7370-74c3-45a6-ac3a-380d48520a83
definition_image: airbyte/source-oracle
definition_version: 0.3.22
configuration:
  host: <http://ora-test-admit-b.c6afqudcyert.ap-southeast-2.rds.amazonaws.com|ora-test-admit-b.c6afqudcyert.ap-southeast-2.rds.amazonaws.com>
  port: 1521
  schemas:
  - DEAKIN
  password: '{$DEV_PASSWORD}'
  username: blah
  encryption:
    encryption_method: unencrypted
  tunnel_method:
    tunnel_method: NO_TUNNEL
  connection_data:
    service_name: db1
    connection_type: service_name
I am using the very latest of both octavia/airbyte (version 0.40.32), and Oracle source (0.3.22) For some reason when running
octavia apply
it is not updating the password. I have tried it with/without single quotes and with no quotes crashes In an odd twist, if I manually put the password in the source file directly, it updates fine, and the source validates/passes connection test - so its definitely an issue with pulling it in as an environment variable. Any ideas?
I stumbled upon the answer by mistake - should have the
$
outside the
{}