Aviv CDK Python library
Project description
AVIV CDK for Python
A set of AWS CDK examples and constructs.
Install
Requires:
- Python >= 3.6
- pip
pip install aviv-cdk
Extras:
- cicd
- nextstep
- data
Build, distrib & release
Requires twine to be installed (pip install twine
) and credentials to upload a new verison to pypi.
python3 setup.py sdist bdist_wheel
# test distrib
python3 -m twine upload --repository testpypi dist/*
Included CDK apps / samples
CICD
cdk -a 'python3 cicd.py' ...
requires:
- buildspec.yml
IAM Idp
cdk -a 'python3 app_idp.py' ...
requires:
- cfn_resources.zip
Develop and contribute :)
Requirements:
- Pipenv
- AWS cdk client
- [optional] docker
- [optional] AWS codebuild docker image (standard >= 4.0)
git clone https://github.com/aviv-group/aviv-cdk-python && cd aviv-cdk-python
pipenv install -d -e .
Use it
# Build layer for release
pip install -r lambdas/cfn_resources/requirements.txt -t build/layers/cfn_resources/
(cd build/layers/cfn_resources/ && zip -q -r ../../artifacts-cfn_resources.zip .)
# Or with codebuild agent - see: buildspec.yml
codebuild_build.sh -i aws/codebuild/standard:4.0 -a build
Test
Requires: pytest
pipenv run pytest -v tests/
Contribute
Yes please! Fork this project, tweak it and share it back by sending your PRs.
Have a look at the TODO's and changelog file if you're looking for inspiration.
License
This project is developed under the MIT license.
Author(s) and Contributors
- Jules Clement <jules.clement@aviv-group.com>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aviv-cdk-0.0.4rc2.tar.gz
(8.5 kB
view hashes)
Built Distribution
Close
Hashes for aviv_cdk-0.0.4rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88f396476f113c60b805a29e0ec45374cc60004d2cc4f7c0b15e3de50b4a5f33 |
|
MD5 | d18d1766fed0eea15d31ada5525674e8 |
|
BLAKE2b-256 | aac62d49285741322ef81db520a9e139d58bfcc37dd3dd3b44c113bf037019d8 |