How does Terraform deal with eventual consistency and API throttling?
AdvancedConceptProviders, Resources and Data Sources
Answer
Providers wrap many calls in retry logic with backoff, for example waiting for an IAM role to propagate. For rate limits, lower -parallelism, set max_retries on the AWS provider and split very large states. Persistent Throttling or RequestLimitExceeded errors at scale are a hint your state is too large.
More on Providers, Resources and Data Sources
What is a resource block and how is it addressed?BeginnerWhat is the difference between a resource and a data source?BeginnerHow do you configure a provider such as AWS?BeginnerHow do you use the same provider with multiple regions or accounts?IntermediateIn what order does the AWS provider look for credentials?IntermediateWhat does `default_tags` in the AWS provider do and what are its pitfalls?Intermediate