Skip to content

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

Description

@martinbaste

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions