-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Open
Labels
Description
Hello!
We have a statefile in which we currently manage 14160 resources. This leads to significant slowdown of terraform commands. We do optimise this with high parellelism, which works well enough. However, we do run into a different scaling issue: Terraform startup time.
When running terraform plan, apply or validate we are currently dealing with 3 minutes of no output before it starts doing anything. This does seem to scale with the size of our statefile. When inspecting our (100MB) statefile, over half of its weight is dependencies. And most of those are transitive dependencies.
- I am not familiar with the terraform implementation at all, but would there be some optimisations possible here to help us with our usecase?
- I would also love some suggestions about how to reduce our startup times (we already try to keep depencency counts low)
- We are planning to split up this statefile, but for that we would like to first see what terraform stacks has to offer. Is there an update about its release date?