Just stumbled on a solid approach to dealing with massive Terraform setups. When your state file hits 500+ resources, plans can drag on forever, and applies might even time out. Splitting the state into smaller files by domain (network, data, compute, etc.) cut plan times from 8 minutes down to under a minute for one team I saw.
Also, using modules with something like Terragrunt to keep environments consistent instead of copy-pasting has gotta save headaches down the line. And locking state remotely with DynamoDB to avoid conflicts—such a clean fix.
Anyone else dealing with Terraform scaling pains like this? Would love to hear what worked for you. #Terraform #InfraAsCode #DevOps
