-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Description
Hello,
I'm provisioning resources on a single tfstate. It's been growing steadily and I'm now at ~2900 resources. I've seen an increase in the time it takes to run the plan as I added more resources - with most time it just seem to hang before refreshing the state (I suppose it is walking the graph to understand resource dependencies) and some time after the refresh ends (before printing out the plan).
I reached a place where it takes 20-25 minutes just to run the plan and I'm starting to wonder if this is a normal behavior or a bug.
I've also tried running the plan with TF_LOG set to trace and I'm noticing many times it just sits there and not print anything. Most noticeably between these lines of log:
2018/10/03 08:38:54 [TRACE] Graph after step *terraform.graphTransformerMulti:
2018/10/03 08:42:41 [TRACE] Graph after step *terraform.ModuleVariableTransformer:
2018/10/03 08:42:53 [TRACE] Graph after step *terraform.graphTransformerMulti:
2018/10/03 08:46:22 [TRACE] Graph after step *terraform.ModuleVariableTransformer:
2018/10/03 08:46:34 [TRACE] Graph after step *terraform.OutputTransformer:
2018/10/03 08:50:03 [TRACE] Graph after step *terraform.ModuleVariableTransformer:
2018/10/03 08:50:51 [TRACE] Graph after step *terraform.graphTransformerMulti:
2018/10/03 08:54:18 [TRACE] Graph after step *terraform.ModuleVariableTransformer:
Has anyone else notice this? If anyone from the HashiCorp team wants to have a look - I can provide my TF files for review...
Terraform version v0.11.7