KrisTej
KrisTej

Reputation: 85

Initialize a new CDKTF for Terraform application in Python

I am unable to initialize a terraform application using CDKTF and Python. I have created a virtual env and initializing it.

https://learn.hashicorp.com/tutorials/terraform/cdktf-build-python?in=terraform/cdktf

Using cdktf init --template="python-pip" --local throws an Error:
'which' is not recognized as an internal or external command, operable program or batch file. Unable to find "pip".

I have added c:\python37\lib\site-packages\pip and c:\python37\Scripts to Path as well

Upvotes: 0

Views: 925

Answers (1)

Daniel Schmidt
Daniel Schmidt

Reputation: 11921

Using cdktf init --template="python-pip" --local should work, if not it's a bug that needs to be solved.

Upvotes: 0

Related Questions