An open API service indexing awesome lists of open source software.

https://github.com/adevintaspain/awsenums

Python module that contains a list of enums useful for your applications.
https://github.com/adevintaspain/awsenums

Last synced: 8 months ago
JSON representation

Python module that contains a list of enums useful for your applications.

Awesome Lists containing this project

README

          

# AWSenums
Python module that contains a list of enums useful for your applications.

# How To package and distribute:
Based on the [official packaging documentation of python](https://packaging.python.org/tutorials/distributing-packages/#pure-python-wheels):
* ```python setup.py sdist```
* ```python setup.py bdist_wheel```
* ```gpg --detach-sign -a dist/AWSEnums-X.X.X.tar.gz```
* ```twine upload dist/AWSEnums-X.X.X.tar.gz dist/AWSEnums-X.X.X.tar.gz.asc```

# How To build the instances type enum:
Actually we can create it manually with the tool: AWSEnums/tooling/generate_instances_types.py only run the command:

```pipenv run python tooling/generate_instances_types.py -r us-east-1 -p account_alias```

or if you prefer use the aws environment variables (AWS_DEFAULT_REGION, AWS_PROFILE or AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY) use:

```pipenv run python tooling/generate_instances_types.py```

**NOTE:** Now the aws pricing api only works on us-east-1.