Skip to content

Commit d952b8d

Browse files
committed
docs: Calling out update for existing cache locations in v1.0.4
1 parent cd8fe34 commit d952b8d

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
version: "v1.0.4"
3+
category: "experiments-updated"
4+
---
5+
6+
#### Cache and plugin directories follow platform conventions
7+
8+
Terragrunt's global cache directory now resolves to the platform's user cache location instead of a hard-coded `~/.cache/terragrunt`. On Linux this honors `XDG_CACHE_HOME` (still `~/.cache/terragrunt` by default), on macOS it resolves to `~/Library/Caches/terragrunt`, and on Windows it resolves under `%LocalAppData%`. The CAS content store, the auto provider cache, and the IaC engine plugin directory all move with it.
9+
10+
Existing caches at the previous locations are not migrated. They become orphaned and continue to consume disk space until removed.
11+
12+
Consider deleting the old paths to reclaim that space if you are on macOS or Windows, or have configured a custom `XDG_CACHE_HOME`:
13+
14+
```bash
15+
# CAS store and engine plugins under the legacy ~/.cache layout
16+
rm -rf ~/.cache/terragrunt
17+
```
18+

0 commit comments

Comments
 (0)