Splitting a 900-resource Terraform state into layers: network, data and app
One Terraform state for a whole environment meant 11-minute plans, fragile applies and an app deploy that could touch the VPC. How we split it into layers by rate of change and blast radius, passed values between them, moved resources with removed and import blocks, and kept the apply order sane.