handsome-needle-68467
03/04/2026, 7:34 PMcdk synth/diff/deploy from Pants so it uses the same hermetic environment and dependencies?
◦ Wrap CDK as a pex_binary?
◦ Use pants run targets?
◦ Define a custom plugin?
4. Has anyone structured a mono-repo with multiple CDK stacks + services under Pants? How did you define targets and dependency boundaries?
We’re trying to keep builds hermetic and reproducible while avoiding duplication between CDK’s asset system and Pants’ packaging.
Any examples or architectural guidance would be much appreciated. Thanks!happy-kitchen-89482
03/05/2026, 4:37 AMcdk deploy etc either by writing a custom plugin or, probably more easily, using the ad-hoc tool functionality: https://www.pantsbuild.org/2.31/docs/ad-hoc-tools/integrating-new-tools-without-plugins
@broad-processor-92400 might have experience, he's done a lot of work with lambdas.worried-painter-31382
03/05/2026, 7:59 AMacoustic-garden-40182
03/05/2026, 12:19 PM--changed-since rather than doing a full cdk diff of all the stacks in an app, trying to figure out expected vs unexpected changes etc.
If I come up with anything I'll drop you a message, I'm happy to collaborate.handsome-needle-68467
03/06/2026, 1:07 PM