Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Caching support #460

Open
Makeshift opened this issue Jan 25, 2025 · 1 comment
Open

[Feature] Caching support #460

Makeshift opened this issue Jan 25, 2025 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Makeshift
Copy link

Makeshift commented Jan 25, 2025

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).

@dirien dirien added enhancement New feature or request good first issue Good for newcomers labels Feb 10, 2025
@dirien
Copy link
Collaborator

dirien commented Feb 10, 2025

Hey @Makeshift,

I like this idea very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants