Package that helps to gather AWS CloudFormation outputs.
Project description
B.CfOutputs
A python based library to list AWS Cloud Formation stack outputs.
Description
Sometimes it is very convenient to list all outputs of all stacks (especially programmatically). There is no API or SDK command to conveniently do this. Therefore, we have created this library to easily get all of the outputs of stacks.
Remarks
Biomapas aims to modernise life-science industry by sharing its IT knowledge with other companies and the community. This is an open source library intended to be used by anyone. Improvements and pull requests are welcome.
Related technology
- Python 3
- AWS CDK
- AWS CloudFormation
Assumptions
The project assumes the following:
- You have basic-good knowledge in python programming.
- You have basic-good knowledge in AWS and CloudFormation.
Useful sources
- Read more about Cloud Formation:
https://docs.aws.amazon.com/cloudformation/index.html
Install
The project is built and uploaded to PyPi. Install it by using pip.
pip install b-cf-outputs
Or directly install it through source.
pip install .
Examples
Create a boto3 session:
import boto3
session = boto3.session.Session('key', 'secret')
List available Cloud Formation stacks:
from b_cf_outputs.cf_stacks import CfStacks
stacks = CfStacks(session).get_stacks()
List outputs from stacks:
from b_cf_outputs.cf_outputs import CfOutputs
CfOutputs(session).get_outputs()
Testing
The project has tests that can be run. Simply run:
pytest
Contribution
Found a bug? Want to add or suggest a new feature?
Contributions of any kind are gladly welcome. You may contact us
directly, create a pull-request or an issue in github platform.
Lets modernize the world together.
Release history
0.0.2
- Fix situation where stacks might not have outputs.
- Lists stacks that only have valid statuses.
0.0.1
- Initial build.
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
Built Distribution
Hashes for b_cf_outputs-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f58b1ba41bd46f0ce0511e7ba52dc04d97142fd827bbf9284397fee52a5787 |
|
MD5 | 1af248dab6f9fcf5464761f3d951d93d |
|
BLAKE2b-256 | 4ded6fbcbf9c6361ef06f93c0e1fd8d835fc28cdd958205efeb81bcca897f188 |