Tool used to manipulate the environment variables of an AWS Elastic Beanstalk environment with json, yml or properties files.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE.md
README.md
aws.js
ebenv-export.js
ebenv-import.js
ebenv.js
package.json
tools.js

README.md

ebenv

License Info

Tool used to manipulate the environment variables of an AWS Elastic Beanstalk environment with json, yml or properties files.

Installation

You first need to install the ElasticBeanstalk client and initialize it with eb init.

Then, install ebenv:

npm install -g ebenv

Usage

Export current config to file

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

Write a file to the AWS config

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