Open xe-leon opened 3 weeks ago
all resources and data sources
Not all resources use the same API/client to connect, so this probably doesn't affect all resources. From the example it seems to affect OnCall resources, which uses this client: https://github.com/grafana/terraform-provider-grafana/blob/main/internal/resources/oncall/data_source_user.go#L7
That client might not properly take these wait/retry values into account.
That sounds correct, thank you! I've edited the issue.
Terraform Version
1.9.6
Terraform Grafana Provider Version
3.10.0
Grafana Version
Grafana Cloud (steady)
Affected Resource(s)
all Grafana onCall resources and data sources that use this client
Terraform Configuration Files
Expected Behavior
With at least a few hundred resources, the provider handles API request limits normally, taking into account the
retry_wait
andretries
options.Actual Behavior
During terraform plan and apply, the following happens:
data.grafana_oncall_user.user[7]: Still reading... [2m10s elapsed]
retry_wait = 60
andretries = 15
options):Steps to Reproduce
Important Factoids
I expect provider to take into account rate limits of grafana cloud
References