いつものようにchalice deployコマンドを実行すると

botocore.errorfactory.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:



During handling of the above exception, another exception occurred:



chalice.deploy.deployer.ChaliceDeploymentError: ERROR - While deploying your chalice application, received the following error:



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

とエラーが出る。

解決策

chalice自体をアップデートしたら解決したw

❯ pip list -o
Package                        Version   Latest   Type
------------------------------ --------- -------- -----
chalice                        1.22.1    1.29.0   wheel
pip install -U chalice

aws系は忘れた頃に、ライブラリのアップデートしないとエラーが...