I have set environment properties in AWS Elastic beanstalk. I have a nodejs application which is hosted on a linux.
I can read the environment properties by using container_commands in a config in ebextensions.
But is there another way to read those values? Can you export a json or something of all the values without reading them as environment variables in ebextensions?
You can get environment variables with get-command
on a Beanstalk EC2 instance:
sudo /opt/elasticbeanstalk/bin/get-config environment --output json