How do you tune `-parallelism` and deal with API throttling?
IntermediateProductionHCP Terraform, OpenTofu, Scale and Cost
Answer
Default is 10 concurrent operations. Higher speeds big creates until the API returns Throttling/RequestLimitExceeded; lower it for rate-sensitive APIs (IAM, Route 53, GitHub). On the AWS provider add max_retries and retry_mode = "adaptive". If throttling persists you are asking too much per state: split it.
More on HCP Terraform, OpenTofu, Scale and Cost
How do you design workspaces and projects in HCP Terraform?IntermediateWhat execution modes does HCP Terraform offer?BeginnerWhat are the three run workflows in HCP Terraform?BeginnerHow are variable sets and sensitive variables used?BeginnerHow is HCP Terraform priced, and how does it affect design?IntermediateHow do you choose between HCP Terraform, Atlantis, Spacelift and plain GitHub Actions?Advanced