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
Run the container:
docker run -it --rm -v $(pwd):/src -w '/src' cdktf-cli:latest sh
Initialise cdktf:
cdktf init --template python
Test locally using act
:
act -P ubuntu-latest=nektos/act-environments-ubuntu:18.04 -j check_cdktf_releases
Build:
make build
Test:
make run
Push:
make push