Lambda で外部ライブラリを使いたいとき 実行環境を Docker イメージにして ECR から実行することで実現できますが、自分でやるのはちょっと面倒です というわけで、CircleCI に任せてしまいましょう また、この技術を使ってアイコンを手書きで探せるアプリを開発しました! ぜひ使ってみてください! やりたいこと ローカルで作った Lambda 用のコンテナを、GitHub の main ブランチにプッシュしたら Lambda へ自動デプロイされるようにしたい フロー GitHub の main ブランチの更新を CircleCI が感知 CircleCI のコンテナ内で Docker イメージをビルド Docker イメージを ECR へプッシュ Serverless が ECR のイメージを使って Lambda へデプロイ 実装 ECR にリポジトリ作成 ECR のプライベ