Closed mungojam closed 2 years ago
@eerkunt
I am very interested how you invoke terraform-compliance
with python. Could be a nice documentation!
I am very interested how you invoke
terraform-compliance
with python. Could be a nice documentation!
it's pretty much the same as calling it at the cli:
python -m terraform_compliance <usual-args>
works nicely. This is the same way as pip recommends these days too:
python -m pip install etc.
I expected to be able to do
python -m terraform_compliance
as we would with pip or other python tools, but it didn't work. Instead I had to dopython -m terraform_compliance.main
.This fixes that problem.