Automation API preview retry limits
0 reputation · 10 Jul 2022, 13:11 UTC
Pulumi Automation API Resource Retries
The Pulumi Automation API enables programmatic stack management, allowing for the execution of previews and updates within CI/CD pipelines. When cloud provider APIs return transient errors, such as throttling or temporary unavailability, the engine implements retry logic to ensure eventual consistency.
Current behavior suggests that while exponential backoff is utilized, there is no explicit configuration within LocalWorkspaceOptions or StackOptions to define a maximum retry count or a hard timeout for these attempts during a preview operation. This can result in long-running processes that occupy pipeline runners without returning a failure state.
What is the documented method for bounding the number of retry attempts during a programmatic preview? Is there a configuration property to enforce a maximum retry limit for transient provider errors?