By using AWS re:Post, you agree to the Terms of Use
/SageMaker Pipeline with lambda step: unable to update/upsert pipeline/

SageMaker Pipeline with lambda step: unable to update/upsert pipeline

0

Hi there,

I have a SM pipeline which contains a lambda step.

I have recently run into problems with the pipeline/lambda function, everytime I call the pipeline.upsert() method, I receive the following error message(s):

ResourceConflictException: An error occurred (ResourceConflictException) when calling the UpdateFunctionCode operation: The operation cannot be performed at this time. An update is in progress for resource: arn:aws:lambda:eu-west-x:XXXXXXXXXXXX:function:evaluation-input-generator

During handling of the above exception, another exception occurred: 
ValueError: {'Message': 'The operation cannot be performed at this time. An update is in progress for resource: arn:aws:lambda:eu-west-X:XXXXXXXXXXXX:function:evaluation-input-generator', 'Code': 'ResourceConflictException'}

For some reasons, the lambda seems to be permanently stuck in An update is in progress for resource: ..., however, I suspect that this is not the case, I am able to call the lambda helper's update method for the function and it will return status 200.

this behaviour is observed in multiple SM pipelines, any help would be greatly appreciated!

Best, Ruoy

1 Answers
0

Hello Ruoy,

Since this issue is observed in multiple SM pipelines, I would request you to open a case with Premium support so that engineer can inspect lambda configuration and the cloudtrail events and get to the root cause of the issue.

https://docs.aws.amazon.com/awssupport/latest/user/case-management.html

SUPPORT ENGINEER
answered 12 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions