I have a project.yml
that starts off like this:
parameters: {}
environment:
ANSWER_POSTER_AUTHORIZATION: "${ANSWER_POSTER_AUTHORIZATION}"
OPEN_AI_KEY: "${OPEN_AI_KEY}"
DigitalOcean docs say these templates will get populated from my .env
file if I have one in the project directory. I do, and it seems to be populating fine for ${OPEN_AI_KEY}
. But for ${ANSWER_POSTER_AUTHORIZATION}
it's not working. The value of ANSWER_POSTER_AUTHORIZATION
in the .env
file is something like this:
ANSWER_POSTER_AUTHORIZATION="Basic XXYYZZZ"
When I look at the function logs, I see that only the word "Basic" is coming through. It seems like the space is causing an issue. I've tryed quoting it with single quotes and leaving it unquoted, but same problem.