This demonstrates a simple example based on Python. For conevnience, the current Python packages are distributed alongside this code under ./.packages.
pipenv install
pipenv run python main.py
cat dist/MySimpleStack.tf.json
cd dist
terraform init
terraform plan