feat: add retry in provider install (#1255)

Signed-off-by: Yuvraj <evalsocket@gmail.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: James Humphries <James@james-humphries.co.uk>
This commit is contained in:
Yuvraj
2024-04-01 22:11:18 +05:30
committed by GitHub
parent 8321f14786
commit aa8b4a7cca
4 changed files with 57 additions and 6 deletions

View File

@@ -162,6 +162,16 @@ If `TF_IGNORE` is set to "trace", OpenTofu will output debug messages to display
export TF_IGNORE=trace
```
## TF_PROVIDER_DOWNLOAD_RETRY
Set `TF_PROVIDER_DOWNLOAD_RETRY` to configure the max number of request retries
the remote provider client will attempt for client connection errors or
500-range responses that are safe to retry.
```shell
export TF_PROVIDER_DOWNLOAD_RETRY=3
```
For more details on `.terraformignore`, please see [Excluding Files from Upload with .terraformignore](/docs/language/settings/backends/remote#excluding-files-from-upload-with-terraformignore).
## Cloud Backend CLI Integration