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