-
Notifications
You must be signed in to change notification settings - Fork 37
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
[terraform] Support lock-timeout option #113
Comments
I can see why this would be very useful, especially if your CI/CD solution does not give you the ability to run jobs exclusively, or specify concurrency etc. All the terraform commands you're using (implicit: init, explicit: plan,apply) support this parameter:
So adding this as a parameter and passing it through sounds good to me :) I'll like to take a crack at this - but sadly won't have the time in the short term. Also, eng-ops are very low on resources at the moment after some changes that impacted the team. |
It would be nice to have support for the
lock-timeout
option.I have two workflows
continuous_integration
(which does aplan
) andcontinuous_deployment
(does anapply
). The CI workflow runs on all branches. The CD workflow only runs onmaster
and it is also triggered via the API from other builds which trigger a redeploy. When the build runs onmaster
it runs both of these workflows concurrently and one of them will always fail as it cannot get lock because the other one has it. I need to be able to set the lock timeout so that they will retry.The text was updated successfully, but these errors were encountered: