Extract environments variables from Elastic Beanstalk
you have to configure AWS CLI first
ça va sans dire
Installation:
python -m pip install -r requirements.txt
Running:
python main.py
Enter your Elastic Beanstalk application name:
The name of the environment displayed on Beanstalk: MY-APPLICATION
cheers
ps:
you can achieve the same thing with AWS CLI
aws elasticbeanstalk describe-configuration-settings \
--application-name your-application-name \
--environment-name your-environment-name \
--query 'ConfigurationSettings[0].OptionSettings[?OptionName==`EnvironmentVariables`].Value' \
--output text