This message was deleted.
# atlantis-community
s
This message was deleted.
o
Should I probably totally clean
.
before plan?
d
so with terragrunt, there's a cache in every module directory its ran in
a better clean up would be with
find . -path '*/\.terragrunt-cache*' -delete
it'll delete ALL caches found within the CWD
o
@Dylan Page I’m encountering with issue using terragrunt plan in directories where there are no child modules
d
can you explain your directory structure in more detail? there'll be a cache for each
terragrunt.hcl
that is getting planned
o
I’m not using plan-all
I’m running plan separately using atlantis-terragrunt-config
Therefore what I wrote is applicable for single module
d
yes but a plan gets run every time for each module by Atlantis even if your not planning all. Are you able to determine why the plan is failing from the logs? Let's start there
o
Yes, I’m planning specific module which contains changes
using atlantis plan -d …
I’m not planning globally
but everything is fine if I remove
Copy code
default.tfplan
.terraform.lock.hcl
together with
Copy code
.terragrunt-cache
But is it safe to remove those files after previous plan?
From what I know - yes
d
yes those are auto generated