Created
June 9, 2018 08:31
-
-
Save mogeta/597ffc9a4d749db8b148df4196884fd2 to your computer and use it in GitHub Desktop.
Lambda周りのコマンド類
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# バイナリ作成 | |
env GOARCH=amd64 GOOS=linux go build myfirestore.go struct.go | |
# テスト環境で実行 | |
sam local invoke -e event.json -t template.yaml --env-vars sam_env.json | |
# Lambdaに上げるファイルの作成。secret_keyをアップロードするのを忘れずに | |
zip myfirestore.zip myfirestore firebase_secret_key.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment