bitter-piano-88933
11/01/2021, 9:28 PMfast-nail-55400
11/01/2021, 9:33 PMfast-nail-55400
11/01/2021, 9:33 PMterraform fmt and `terraform validate``hundreds-father-404
11/01/2021, 9:33 PMfast-nail-55400
11/01/2021, 9:33 PMfast-nail-55400
11/01/2021, 9:34 PM./pants dependencies some/path/:target_name to see dependencies of a Terraform modulehundreds-father-404
11/01/2021, 9:35 PMbitter-piano-88933
11/01/2021, 9:42 PMbitter-piano-88933
11/01/2021, 9:44 PMbitter-piano-88933
11/01/2021, 9:45 PMbitter-piano-88933
11/01/2021, 9:46 PMhundreds-father-404
11/01/2021, 9:47 PMhundreds-father-404
11/01/2021, 9:48 PMbitter-piano-88933
11/01/2021, 9:55 PMbitter-piano-88933
11/01/2021, 9:56 PMfast-nail-55400
11/01/2021, 9:58 PMfast-nail-55400
11/01/2021, 9:59 PMvalidate to work, we may need to put the .terraform local directory into the Pants execution sandbox. The current version of the backend does not do that, and so is incomplete in this regard.bitter-piano-88933
11/01/2021, 10:02 PMhundreds-father-404
11/01/2021, 10:03 PMpants.toml
[GLOBAL]
backend_packages = ["pants.backend.experimental.terraform"]
Then run ./pants tailor
Should be able to run ./pants fmt path/to/terraform:: then
You'll want to use 2.8.0rc1bitter-piano-88933
11/01/2021, 10:04 PMhundreds-father-404
11/01/2021, 10:06 PM