Skip to content

CDKTF-CLI for Terraform Docker image

License

Notifications You must be signed in to change notification settings

denstorti/cdktf-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build and Push docker image

Docker Image for cdktf-cli (Terraform CDK)

In order to use cdktf, you'll need Terraform, Node.js, and Yarn. So this docker image intends to make developer's life easier just wrapping cdktf-cli.

Check https://3musketeers.io/.

Image contains:

  • Terraform CLI
  • cdktf-cli

Distributions

Example: init a cdktf workdir

Run the container:

docker run -it --rm -v $(pwd):/src -w '/src' cdktf-cli:latest sh

Initialise cdktf:

cdktf init --template python

Test the pipeline locally (GH Actions)

https://github.com/nektos/act

Test locally using act:

act -P ubuntu-latest=nektos/act-environments-ubuntu:18.04 -j check_cdktf_releases

Building it

Build:

make build

Test:

make run

Push:

make push

About

CDKTF-CLI for Terraform Docker image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published