A CDK for Terraform application in Python.
Install Pipenv using Homebrew by running:
$ brew install pipenv
You can install Pipenv by visiting the website.
Install project dependencies
pipenv install
Generate CDK for Terraform constructs for Terraform providers and modules used in the project.
cdktf get
You can now edit the main.py
file if you want to modify any code.
cdktf synth
The above command will create a folder called cdktf.out
that contains all Terraform JSON configuration that was generated.
cdktf deploy
Deploy the stack!