Files
floci/tools
Priamo Germosen 0c4fa969e3 refactor(tools): run the ECR, Resource Groups and Logs delivery generators through request_shapes.main (#9356)
Three constraint generators still repeated the driver request_shapes.main provides: their own
argparse block, the strip_source comparison for --check and the write. They now hand it their
model, output and operations, the two-line delegation regen_sts_shapes.py and the other
constraint generators use.

The vendored files regenerate byte for byte, _source included. Resource Groups and Logs delivery
gain what the driver gives the rest: main() takes argv, so a test can drive it, --check names the
stale file instead of exiting 1 silently, and a write says where it wrote. The three join the test
that pins each constraint generator's call to the driver.

The driver's module docstring no longer says the three call build_constraints() themselves, and says
which generators take that path through main() rather than naming IAM and STS alone.
2026-11-24 09:42:55 -04:00
..