This is a Python project, for bootstrapping initial payer account for AWS multi-account environments.
This project uses a simple structure for sources, tooling and testing.
Just execute make
to see what you can do.
Current status: Under development
You will need to have Python 3.8 installed. After this you just need to call
$ make install
The initialization process also creates a virtualenv within this project, stored under the venv directory.
It will also install AWS cdk command by calling npm install -g aws-cdk
.
It is tested with Python 3.8.x.
You can use make .venv
to create Python environment for this project.
To add additional dependencies, for example other CDK libraries, just add
them to your setup.py
file and rerun the make install
command.
Project uses PyTest for a simple testing approach. For reference visit: https://docs.pytest.org/en/latest/index.html
At this point you can now synthesize the CloudFormation template for this code.
$ cdk synth
After this, use deploy command to deploy CloudFormation stack with related skill id parameter.
cdk deploy --parameters skill=amzn1.ask.skill.your-skill-guid-number
The cdk.json
file tells the CDK Toolkit how to execute your app.
For reference on AWS CDK visit: https://docs.aws.amazon.com/de_de/cdk
cdk ls
list all stacks in the appcdk synth
emits the synthesized CloudFormation templatecdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk docs
open CDK documentation
Enjoy!
This is developed to support development under Mac OS X, Windows and Linux (Ubuntu, CentOS). For local testing you will need to install Python 3.8.x.
None (... because it is already managed by GNU make)
This project is licensed under the terms of the MIT license.