前提・実現したいこと
MAC OS XにてLambda レイヤーを作成したいと考えています。
以下のAWSのドキュメントを参照しながら作業を進めています。
https://aws.amazon.com/jp/premiumsupport/knowledge-center/lambda-layer-simulated-docker/
しかし、以下の項目の
6 次のコマンドを実行して、レイヤーを使用するように Lambda 関数設定を更新します。
でエラーが発生します。
解決方法はありませんでしょうか?
発生している問題・エラーメッセージ
$ aws lambda update-function-configuration --layers arn:aws:lambda:ap-northeast-1:886494872028:layer:mypythonlibs:1 --function-name my-function An error occurred (ResourceNotFoundException) when calling the UpdateFunctionConfiguration operation: Function not found: arn:aws:lambda:ap-northeast-1:886494872028:function:my-function
作業ディレクトリの中身
$ ls bin mypythonlibs.zip python cv2 opencv_python-4.5.1.48.dist-info requirements.txt lambda_function.py pip
補足情報(FW/ツールのバージョンなど)
MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports)
High Sierra
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。