cool-easter-32542
03/10/2023, 8:00 PMpants tailor ::
doesn't seem to pick them up and the documentation on the terraform subsystem is somewhat scarce. I see this option here, however it also says it is true by default. Below is the content of my pants.toml:
[GLOBAL]
pants_version = "2.15.0"
backend_packages = [
"pants.backend.python",
"pants.backend.experimental.java",
"pants.backend.experimental.scala",
"pants.backend.experimental.terraform"
]
[source]
root_patterns = [ "src", "terraform" ]
marker_filenames = [ "setup.py" ]
[jvm]
jdk = "termurin:1.17.0.6"
[scala.version_for_resolve]
jvm-default = "2.13.8"
And my directory structure is as follows. Notice the directory structures are slightly different for Python vs. Java/Scala. I'm assuming this is allowed. I did try removing the Python project but still no dice.
scalaproject/src/main/scala/**/*scala
scalaproject/src/test/scala/**/*.scala
scalaproject/terraform/environments/dev.*.tf
pyproject/toplevelpypackage/**/*.py
pyproject/setup.py
pyproject/terraform/environments/dev.*.tf
Running pants roots
from the root directory of the repo returns the following:
.
pyproject
scalaproject/src
Apologies if it's something obvious!
pantsbuild/pants