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

Sleep for a few seconds before attempting to publish a new lambda version #51

Merged
merged 5 commits into from
Jul 25, 2024

Conversation

mike-carey
Copy link
Contributor

Problem

An error occurred (ResourceConflictException) when calling the PublishVersion operation: The operation cannot be performed at this time.  An update is in progress for resource: arn:aws:lambda:<region>:***:function:<redacted>

Solution

Sleep for a few seconds before attempting to publish a new version.

Notes

Not sure if steps can issue retries, but if they can, maybe we can have it attempt to publish the lambda 3 times.

@mike-carey mike-carey changed the title Hotfix/sleep before publish version Sleep for a few seconds before attempting to publish a new lambda version Jul 25, 2024
@mike-carey mike-carey merged commit 618c8a7 into main Jul 25, 2024
6 checks passed
@mike-carey mike-carey deleted the hotfix/sleep-before-publish-version branch July 25, 2024 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants