Skip to content

Instantly share code, notes, and snippets.

@mogeta
Created June 9, 2018 08:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mogeta/597ffc9a4d749db8b148df4196884fd2 to your computer and use it in GitHub Desktop.
Save mogeta/597ffc9a4d749db8b148df4196884fd2 to your computer and use it in GitHub Desktop.
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