-
-
Notifications
You must be signed in to change notification settings - Fork 952
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
Since v0.56.4, touch terragrunt.hcl
causes init
to run despite no other changes (possibly introduced by provider cache option)
#3121
Comments
touch terragrunt.hcl
causes init
to run despite no other changestouch terragrunt.hcl
causes init
to run despite no other changes
touch terragrunt.hcl
causes init
to run despite no other changestouch terragrunt.hcl
causes init
to run despite no other changes (possibly introduced by provider cache option)
Hi @lorengordon, Could you provide me with the configuration to reproduce the issue? |
Still happens for me on latest terragrunt version, 0.58.11, on Ubuntu. I'll see if I can create a minimal config. But I don't feel like I am doing anything special. Just |
Actually where I first encountered this, I wasn't even using an |
Oh, and the source wasn't actually remote either. But the source was using a local relative path and the double-slash notation... Hmm... |
Ok, that was it. Here's the setup:
Then:
And notice that init runs on the second plan:
|
And again, this does not happen if I downgrade to terragrunt 0.56.3. The behavior starts in 0.56.4, and continues through the current terragrunt release 0.56.11. |
Hi @lorengordon, thanks for the example, I was finally able to reproduce the issue. I will let you know once the issue is fixed. |
Tested 0.58.12 and can confirm the problem is resolved! Thanks @levkohimins! |
Describe the bug
init
is running every time Itouch
the terragrunt config, even though nothing has actually changed.Steps To Reproduce
plan
touch terragrunt.hcl
plan
.init
does not run on the second plantouch terragrunt.hcl
plan
init
runs despite no changes needing init to runExpected behavior
init
should not run unless it needs to.Versions
Additional context
v0.56.4 introduced the Terragrunt Provider Cache, so that's my first suspect for this new behavior...
The text was updated successfully, but these errors were encountered: