Skip to content

jxpress/lambda_terraform_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

動作確認環境

  • terraform v1.2.4

使い方

terraformを使用した、Python Lambdaをリリースするまで。

(1)Lambda関数のパッケージを作る

docker run -v ${PWD}:/opt/app --rm -it python:3.8 /bin/sh -c 'apt update && apt install zip && pip install pipenv && cd /opt/app && ./build-pkg.sh'

(2)terraform applyコマンドを実行する

cd terraform && terraform init && terraform apply

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published