Skip to main content

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

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

b_cf_outputs-0.0.2.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

b_cf_outputs-0.0.2-py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page