Interview Prep/Terraform/HCP Terraform, OpenTofu, Scale and Cost

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.

All Terraform questions

More on HCP Terraform, OpenTofu, Scale and Cost