I've tried adding environment variables to my config but it appears they aren't parsed. Example below for a sample yml config. The environment variables work correctly in haproxy.cfg as I tested this by putting the value for $PASSWORD directly into thedataplaneapi.yml config. I tried this with the hcl config type declaring a variable block but parsing failed on the line where type is declared.
I've tried adding environment variables to my config but it appears they aren't parsed. Example below for a sample yml config. The environment variables work correctly in
haproxy.cfg
as I tested this by putting the value for$PASSWORD
directly into thedataplaneapi.yml
config. I tried this with thehcl
config type declaring a variable block but parsing failed on the line where type is declared.Throws error unknown token: 6:10 IDENT string
dataplaneapi.yml
haproxy.cfg
I'm assuming environment variables in dataplane api config files aren't currently supported?