Many endpoints make use of rate-limiting, which can be problematic in larger Pulumi projects and force workarounds such as time.Sleep or simply brute-forcing through failures.
This issue is a feature request to add an optional caching property that would allow the provider to cache the response from each request and store it in the state, returning the stored response in subsequent runs of the program.
If enabled, the cache should be bustable (ie trigger recreation of the resource and therefore performing the request and storing the new response) by changing an input value (such as null_resource's triggers key).
Many endpoints make use of rate-limiting, which can be problematic in larger Pulumi projects and force workarounds such as
time.Sleepor simply brute-forcing through failures.This issue is a feature request to add an optional caching property that would allow the provider to cache the response from each request and store it in the state, returning the stored response in subsequent runs of the program.
If enabled, the cache should be bustable (ie trigger recreation of the resource and therefore performing the request and storing the new response) by changing an input value (such as
null_resource'striggerskey).