Pipeline AWS Elasticbeanstalk .ebextensions ENV vars

Sebastian Moser
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 4, 2017

Hello,

I am looking for a solution to use my defined environment variables under Settings > Environment variables in my build process.

I created a file in my repo .ebextensions/environment.config with the following content:

option_settings:
- option_name: CUSTOM_ENV
value: staging
- option_name: APP_ENV
value: $APP_ENV

I see the ENV vars in the AWS Elasticbeanstalk console but the value is $APP_ENV.

How can I set the ENV vars correctly?

Thanks,

Sebastian

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events