>>2566>moving stuff into modules is just a recipe for more complexity without any real benefit.I don't agree with that part. Moving to modules actually saved my sanity on the last big infra migration we did. It feels like a massive headache during the initial refactor because you're basically re-mapping your entire world, but it's worth it once you have standard patterns for things like VPCs or RDS instances. Without them, I end up copy-pasting blocks of code everywhere and eventually nobody knows what the actual standard is. You just have to be extremely careful with your
moved_from = module. old_name. resource_name
blocks during the transition. It's a lot of manual work upfront, but it prevents the exact kind of drift you're seeing now.