Skip to content

Instantly share code, notes, and snippets.

@mogeta

mogeta/sample.sh

Created Jun 9, 2018
Embed
What would you like to do?
Lambda周りのコマンド類
# バイナリ作成
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