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

Since v0.56.4, touch terragrunt.hcl causes init to run despite no other changes (possibly introduced by provider cache option) #3121

Open
lorengordon opened this issue May 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lorengordon
Copy link
Contributor

Describe the bug

init is running every time I touch the terragrunt config, even though nothing has actually changed.

Steps To Reproduce

  1. Install terragrunt v0.56.3
  2. Run plan
  3. touch terragrunt.hcl
  4. Run plan.
  5. See init does not run on the second plan
  6. Install terragrunt v0.56.4
  7. touch terragrunt.hcl
  8. Run plan
  9. See init runs despite no changes needing init to run
  10. Repeat with terragrunt v0.58.3 to confirm problem still on latest version

Expected behavior

init should not run unless it needs to.

Versions

  • Terragrunt version: v0.56.4-v0.58.3
  • OpenTofu/Terraform version: Terraform 1.5.6
  • Environment details (Ubuntu 20.04, Windows 10, etc.): WSL/Ubuntu 22.04

Additional context

v0.56.4 introduced the Terragrunt Provider Cache, so that's my first suspect for this new behavior...

@lorengordon lorengordon added the bug Something isn't working label May 6, 2024
@lorengordon lorengordon changed the title Since v0.56.5, touch terragrunt.hcl causes init to run despite no other changes Since v0.56.4, touch terragrunt.hcl causes init to run despite no other changes May 6, 2024
@lorengordon lorengordon changed the title Since v0.56.4, touch terragrunt.hcl causes init to run despite no other changes Since v0.56.4, touch terragrunt.hcl causes init to run despite no other changes (possibly introduced by provider cache option) May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant