coopnorge / provider-github

Apache License 2.0
23 stars 11 forks source link

feat: bump teraform provider version to 6.2.1 and add support for retry_delay_ms, max_retries, retryable_errors #81

Open lacroi-m-insta opened 1 week ago

lacroi-m-insta commented 1 week ago

When a project secret is out of date and that you have a webhook resource the terraform provider spams github until rate limite. By adding the possibility to configure retry_delay_ms, max_retries and retryable_errors it is posisble to avoid this. I have tested this on my end with success by setting this:

{"owner":"lacroi-m-insta","token":"xxxx","write_delay_ms":60000,"read_delay_ms":60000,"retry_delay_ms":60000,"max_retries":1,"retryable_errors":[401]}

As the token of the matching secret.

These values are only availible in the updated version of TERRAFORM_PROVIDER_VERSION