This project is an infrastructure as code (IaC) project for a serverless app and an ECS based container project
- serverless app: https://github.com/omerkarabacak/serverless-csv-to-dynamodb
- containerised app: https://github.com/omerkarabacak/containerised-python-flask-app
npm install -g aws-cdk
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pytest
cdk ls
cdk deploy lambda-stack --profile <AWS_PROFILE_NAME>
cdk deploy --all --profile <AWS_PROFILE_NAME>
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