Is there a way to make pulumi runs wait instead of...
# general
m
Is there a way to make pulumi runs wait instead of erroring when encountering locks? The erroring behavior makes a significant number of my CI runs fail.
Copy code
ConcurrentUpdateError: code: -2
   stdout: 
   stderr: Command failed with exit code 255: pulumi up --yes --skip-preview --exec-agent pulumi/actions@v5 --color auto --suppress-progress --exec-kind auto.local --stack prod --non-interactive
  error: [409] Conflict: Another update is currently in progress.
  To learn more about possible reasons and resolution, visit <https://www.pulumi.com/docs/troubleshooting/#conflict>
  Updating (prod)
h
if you’re using github actions i recommend using the concurrency setting to ensure only one update runs for a stack at a time https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs#using-[…]enarios
or use pulumi deployments which handles this for you automatically