Skip to content

dmschlot/aws-cdk-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-cdk-docker

Docker images for the aws-cdk.

Build Status

Description

Docker images to run cdk with the following languages:

  • nodejs
  • typescript
  • python

Getting Started

Dependencies

  • AWS secret key, access key id, and region as environment variables to deploy the templates.
  • Docker

Executing

  • 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

Build your own

For the build script used, check ./build.sh and simply update the version variable and docker repo name.

About

Docker image for aws-cdk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 71.9%
  • Shell 23.0%
  • Dockerfile 5.1%