https://pantsbuild.org/ logo
#general
Title
# general
w

worried-salesclerk-37834

01/12/2022, 5:46 PM
Is Terraform out of experimental? I see code that's out of the "experimental" package, but I don't see any docs on the site.
And does lint exist? I saw "validate" was attempted to be used, but the init got in the way. Have you tried with
terraform fmt -check
?
f

fast-nail-55400

01/12/2022, 6:47 PM
terraform fmt
is built into the
pants.backend.experimental.terraform
backend
(differs from the Python backend by not having fmt as a separate backend o enable)
w

worried-salesclerk-37834

01/13/2022, 12:13 AM
Right, I saw fmt, but I didn't know if the lint check worked. We lint in our pipeline to ensure that folks have fmt locally.
f

fast-nail-55400

01/13/2022, 12:18 AM
terraform fmt
is enabled for both
fmt
and
lint
goals. generally if a tool works with
fmt
, then
lint
just runs it in check mode