Tool used to manipulate the environment variables of an AWS Elastic Beanstalk environment with json, yml or properties files.
You first need to install the ElasticBeanstalk client and initialize it with eb init
.
Then, install ebenv:
npm install -g ebenv
ebenv export [--format <format>] <destfile>
destfile The path to the file where the environment will be written.
If the filename ends with .json, .yml or .properties, the corresponding format will be used when writing the file.
(required)
--format Force a format.
(optional)
Options are: json, yml, properties
Examples:
ebenv export myfile.json
ebenv export myfile.yml
ebenv export myfile.properties
ebenv export --format=json myfile
ebenv import [--format <format>] <destfile>
destfile The path of your config file.
If the filename ends with .json, .yml or .properties, the corresponding format will be used when reading the file.
(required)
--format Force a format.
(optional)
Options are: json, yml, properties
Examples:
ebenv import myfile.json
ebenv import myfile.yml
ebenv import myfile.properties
ebenv import --format=json myfile