LoginSignup
2
0

More than 1 year has passed since last update.

lambda-uploaderでResourceConflictExceptionが発生する時の対処

Posted at

事象

lambda-uploaderを実行した際に以下のエラーが発生していた。

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

原因

2019/11/27 lambdaの仕様が変更された。

おそらく、これが原因で、lambda-uploaderコマンドにて実行時ResourceConflictExceptionが発生するようになった。
以下のPRで問題解消されており、v1.3.1(2022/4/16)としてリリースされていた。

しかしながら、pip install lambda-uploaderで取得したバージョンはv1.3.0(2018/5/15)になっていた。

対策

lambda-uploaderをGitHubから直接取得し、最新のライブラリを入れるようにした。

- pip install lambda-uploader
+ pip install git+https://github.com/rackerlabs/lambda-uploader

無事uploadできた。
lambda-uploaderを使っていたが、敢えて使う理由もないかも。。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0