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

Ignore terragrunt cache #4445

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

costaparas
Copy link

This excludes the common/default cache location from source control

Reasons for making this change:

Terragrunt is a convenient tool used when using terraform. The cache directory is not needed in source control; as per the docs, it can be safely deleted as it will be re-created automatically when needed.

Links to documentation supporting these rule changes:

Here is a sample .gitignore from the terragrunt project itself:
https://github.com/gruntwork-io/terragrunt/blob/master/.gitignore

Reference docs about the cache directory:
https://terragrunt.gruntwork.io/docs/features/caching/

This excludes the common/default location from source control

Docs: https://terragrunt.gruntwork.io/docs/features/caching/
@wirecat
Copy link
Collaborator

wirecat commented May 29, 2024

👋 Hi @costaparas. We don't typically add tooling specific ignores into the more generic templates.
Would you be open to creating a template in community/ for terragrunt instead?

@costaparas
Copy link
Author

👋 Hi @costaparas. We don't typically add tooling specific ignores into the more generic templates. Would you be open to creating a template in community/ for terragrunt instead?

Updated accordingly @wirecat

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