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

goroutine fatal error: concurrent map writes #3177

Open
1 of 2 tasks
putarpuar opened this issue Jun 3, 2024 · 0 comments
Open
1 of 2 tasks

goroutine fatal error: concurrent map writes #3177

putarpuar opened this issue Jun 3, 2024 · 0 comments
Assignees
Labels
bug Something isn't working terragrunt

Comments

@putarpuar
Copy link

putarpuar commented Jun 3, 2024

Describe the bug

I have added TERRAGRUNT_PROVIDER_CACHE=1 infront of the terragrunt run-all plan command. But sometimes I get "fatal error: concurrent map writes". I attached the complete log to this report.
I configured this in my .terraformrc file, not sure if this is relevant:

plugin_cache_dir = "/home/vscode/.terraform.d/plugin-cache"
plugin_cache_may_break_dependency_lock_file = true

And some envs.

TERRAGRUNT_DOWNLOAD=/tmp/terragrunt-cache
TERRAGRUNT_PARALLELISM=20
TERRAGRUNT_USE_PARTIAL_PARSE_CONFIG_CACHE=true
TF_INPUT=false
TF_PLUGIN_CACHE_PATH=~/.terraform.d/plugin-cache

Steps To Reproduce

I can't reproduce it. I happens around every second time I run the plan over around 30 modules.

Expected behavior

A understandable error, if I did something wrong :)

Nice to haves

  • Terminal output
  • Screenshots

Versions

  • Terragrunt version: 0.58.12
  • OpenTofu/Terraform version: 1.4.7
  • Environment details (Ubuntu 20.04, Windows 10, etc.): linux amd64 in a linux devcontainer

Additional context

I hope here is the log file :-)
terragrunt.txt

@putarpuar putarpuar added the bug Something isn't working label Jun 3, 2024
@denis256 denis256 self-assigned this Jun 3, 2024
@ZachGoldberg ZachGoldberg added the terragrunt label Jun 11, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working terragrunt
Projects
None yet
Development

No branches or pull requests

3 participants