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

Updating layer on lambda fails sometimes due to function update process not finished (?) #24

Open
martinbaste opened this issue Jun 23, 2023 · 1 comment

Comments

@martinbaste
Copy link

Symptoms:

The workflow fails sometimes (not always) with this error:

Using the layer in the function...

An error occurred (ResourceConflictException) when calling the UpdateFunctionConfiguration operation: The operation cannot be performed at this time. An update is in progress for resource: [functionARN]

And this happens just after the function code is updated, so I imagine that it is caused by the process trying to update the layer while the function is still updating.

Maybe it would be possible to retry or wait a couple seconds?

@NicPWNs
Copy link

NicPWNs commented Feb 11, 2024

Was running into this, too. For anyone else that lands here, try this fork of the action: NicPWNs/py-lambda-action@main.

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

No branches or pull requests

2 participants