gitignore icon indicating copy to clipboard operation
gitignore copied to clipboard

Ignore terragrunt cache

Open costaparas opened this issue 1 year ago • 2 comments

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/

costaparas avatar May 13 '24 11:05 costaparas

👋 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?

wirecat avatar May 29 '24 01:05 wirecat

👋 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

costaparas avatar May 31 '24 09:05 costaparas

@costaparas Thank you for the change and contributing to gitignore!

wirecat avatar Aug 30 '24 20:08 wirecat