0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

lambda 関数作るときのメモ

Last updated at Posted at 2022-01-27

1. 概要

lambda関数作成するとき、忘れてググるやるまとめる

2. 目次

2.1. layer の追加

  1. pip install -t {dir_name} {package_name} でパッケージをdir_nameにインストールする
    • dir_name を python にする事で、lambda関数内でパスを指定する必要がなくなる
  2. zip -r9 layer.zip python で zip化する
  3. AWS コンソールからレイヤーの作成→zipをアップロードする
  4. arn を取得し、レイヤーの追加でarnを指定する

3. 参考

0
0
1

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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?