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

Lock errors when json and module prefix is enabled #3113

Open
2 tasks
denis256 opened this issue May 1, 2024 · 0 comments
Open
2 tasks

Lock errors when json and module prefix is enabled #3113

denis256 opened this issue May 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@denis256
Copy link
Member

denis256 commented May 1, 2024

Describe the bug

Noticed that terragrunt fails when executed with --terragrunt-json-log --terragrunt-tf-logs-to-json --terragrunt-include-module-prefix and provider cache

Steps To Reproduce

TERRAGRUNT_PROVIDER_CACHE=1 terragrunt  run-all plan --terragrunt-json-log --terragrunt-tf-logs-to-json --terragrunt-include-module-prefix

Attached example project:

fixture-out-dir.zip

Expected behavior

A clear and concise description of what you expected to happen.

Nice to haves

  • Terminal output
  • Screenshots

Versions

  • Terragrunt version: 0.58.1
  • OpenTofu/Terraform version: v1.7.0
  • Environment details (Ubuntu 20.04, Windows 10, etc.):Ubuntu 20.04

Additional context

Fixed with workaround in: https://github.com/gruntwork-io/terragrunt/pull/3104/files#diff-d648c86e90d813cbb076371d42ac2d4a5821c582f1c34feb0924c01f84690b47R246

I suspect solution can be improved

@denis256 denis256 added the bug Something isn't working label May 1, 2024
@levkohimins levkohimins self-assigned this May 1, 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

2 participants