I have the Gitlab CI variable API_URL defined in Gitlab with a value foo.com. I have the same variable name defined in my Elastic Beanstalk configuration, but with a value bar.com. When I deploy from Gitlab, the application I am deploying prints out the value of process.env.API_URL as foo.com - how come? Shouldn't it be reading in the Elastic Beanstalk configuration variable?
API_URL
foo.com
bar.com
process.env.API_URL
2.1m questions
2.1m answers
60 comments
57.0k users