https://pantsbuild.org/ logo
#development
Title
# development
h

hundreds-father-404

10/08/2021, 11:26 PM
Hm, @fast-nail-55400, we have the same problem with Terraform as we had with Go for target generation: if the
terraform_modules
target generator is in the same directory as some
tf
files, what is the address for that
terraform_module
?
src/tf#
, or like Go,
src/tf#./
perhaps?
f

fast-nail-55400

10/08/2021, 11:27 PM
.
or
./
seems fine to me
h

hundreds-father-404

10/08/2021, 11:28 PM
So, should it generally be
src/tf#./subdir
like Go, or stick with
src/tf#subdir
, and only use the
.
when it's the current dir?
I personally prefer
src/tf#subdir
and
src/tf#.
I think, but maybe worth alignment with Go...?
f

fast-nail-55400

10/08/2021, 11:34 PM
your preference seems fine as well. I don’t see why Go and Terraform generators need to be aligned there.