Docker images for the aws-cdk.
Docker images to run cdk with the following languages:
- nodejs
- typescript
- python
- AWS secret key, access key id, and region as environment variables to deploy the templates.
- Docker
- Ensure you are in the root of the directory where the cdk code lives (app.py, cdk.json, etc)
- Mount the local volume on the docker run command to
/cdk
-v $(pwd):/cdk
- Check
./run.sh
for examples on how to run this container. - Example command to run a cdk diff:
docker run \
-v $(pwd):/cdk -e AWS_SESSION_TOKEN=$AWS_SESSION_TOKEN \
-e AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION \
-e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
-ti adam9098/aws-cdk:v{{CURRENT_VERSION}} diff
For the build script used, check ./build.sh
and simply update the version variable and docker repo name.