env file not being recognized in yaml file
franciellevp opened this issue · comments
I have a yml file with env variables
Input:
app_id: ${APP_ID}
api_key_id: ${API_KEY_ID}
...
the values are setted in a .env file. but when i try to run the error of not finding the variable "APP_ID" is showed.
In the python files all works fine, but in the yaml file the envs arent find
I've tried to put the .env file in the same directory of the yaml file, but also not working
- The YAML env provider treats the YAML file as a dictionary so your file would result into 1 env var called
input
- just run a simple program that prints out env vars and you will see it - You need to check "Substitute Environment Variables"
The YAML env provider treats the YAML file as a dictionary so your file would result into 1 env var called
input
- just run a simple program that prints out env vars and you will see it
- You need to check "Substitute Environment Variables"
Sorry I dont really get it and I think I wasnt clear. I checked "Substitute Environment Variables" and isnt working yet.
I have a .env file and a YAML file that uses the variables setted in the .env
.env
APP_ID=123
API_KEY_ID=123
...
credentials.yml:
app_id: ${APP_ID}
api_key_id: ${API_KEY_ID}
...
the file credentials.yml cant find the var APP_ID