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

How to use a unique cache server with the provider caching feature? #3231

Open
Smana opened this issue Jul 1, 2024 · 2 comments
Open

How to use a unique cache server with the provider caching feature? #3231

Smana opened this issue Jul 1, 2024 · 2 comments

Comments

@Smana
Copy link

Smana commented Jul 1, 2024

Hi all,

We've a workflows which runs multiple plans.
I'm wondering if that'd be possible to instantiate just once the caching server and how to do so?
What commands or tools allows to have a single server which stays up until I decide to shut it down?

Thank you and have a nice day.

@tinder-tder
Copy link

set TERRAGRUNT_PROVIDER_CACHE_TOKEN and it should work the way you want.

#3076

@Smana
Copy link
Author

Smana commented Jul 3, 2024

Ok thanks @tinder-tder , I understand that setting this env var will prevent issues when using parallel runs.
However does it answers my question: How to run the cache server once (avoid to start listening on localhost each time a terragrunt command is ran).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants