You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running terragrunt apply-all /plan-all multiple executions of tgmigrate meaning there is a migrationcheck for one module at the same time. This will cause race condition.
Suggestion is to add a flag like --max-concurrent-executions 1 where if it is applied the executions above execution nr.1 would be skipped. This "state" would be stored localy in a file, but it must be known where the file is located.
The text was updated successfully, but these errors were encountered:
After trying to fix this I think its best to implement a "before_all" hook on the terragrunt repo. I will try to make a PR for that shortly, in the meantime you should run tgmigrate manually before the apply.
When running terragrunt apply-all /plan-all multiple executions of
tgmigrate
meaning there is a migrationcheck for one module at the same time. This will cause race condition.Suggestion is to add a flag like
--max-concurrent-executions 1
where if it is applied the executions above execution nr.1 would be skipped. This "state" would be stored localy in a file, but it must be known where the file is located.The text was updated successfully, but these errors were encountered: