Skip to main content

A simple tool that exports ElasticBeanstalk envrionment variables to a .env file

Project description

ElasticBeanstalk to Env

This tool simply does one thing, connects to an Elastic Beanstalk environment, pulls out any custom envrionment variables that are configured and will display them on stdout, or if given a file for output, will write a file containing the values. This is useful when a project requires a different server not running inside Elastic Beanstalk (one that should not recieve web requests, for example) but still requires the same environment configuration. Trying to keep these envrionments in sync manually does not scale, so this tool can be used as a cronjob to write out a new .env file if the configurations do not match.


pip install elasticbeanstalk-to-env


Run the eb-to-env command, the --application and --environment options are required. --output requires a filename in the current working directory, if none is specified, the envrionment variables from EB will be printed to stdout.

eb-to-env --application <appname> --environment <envname> --output .env

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elasticbeanstalk-to-env-0.2.tar.gz (2.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page