ripe-leather-69437
08/10/2026, 8:07 PMexperimental-deploy goal.
I have two terraform modules, module A and module B.
Module A deploys some infrastructure that module B depends on (in this case, a SSM parameter)
I have set module A's terraform_deployment target as a dependency of module B's terraform_deployment target.
When I run pants experimental-deploy src/infra/module_b:deployment I'm not sure whether I should expect module A to also deploy.
Currently the behaviour in the terraform backend is not to deploy the dependency.
I think I would prefer that it deploy the dependency instead, but that does mean that experimental-deploy is deploying beyond my original target selection.ripe-leather-69437
08/10/2026, 8:08 PMpython_tests depend on a terraform_deployment target.
Should the terraform_deployment target be deployed when I run those tests?
Packaged dependencies (eg. a docker_image ) would be built today but that's a much safer action than a deploy.ripe-leather-69437
08/10/2026, 8:10 PMripe-leather-69437
08/10/2026, 9:43 PMplain-library-25606
08/11/2026, 5:26 PMpants dependents --closed --transitive src/infra/module_b:deployment | xargs pants experimental-deploy
experimental-deploy, the correct behaviour. Same for the test->deploy question.ripe-leather-69437
08/15/2026, 6:48 PM