elasticbeanstalk-to-env-0.2
توضیحات
A simple tool that exports ElasticBeanstalk envrionment variables to a .env file
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | elasticbeanstalk-to-env-0.2 |
| نام | elasticbeanstalk-to-env |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jason DeWitt |
| ایمیل نویسنده | jason.dewitt@10up.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/elasticbeanstalk-to-env/ |
| مجوز | - |
# 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.
## Installation
`pip install elasticbeanstalk-to-env`
## Usage
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`
نحوه نصب
نصب پکیج whl elasticbeanstalk-to-env-0.2:
pip install elasticbeanstalk-to-env-0.2.whl
نصب پکیج tar.gz elasticbeanstalk-to-env-0.2:
pip install elasticbeanstalk-to-env-0.2.tar.gz