gatherlambda

command module
v0.0.0-...-6708f91 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

README

Deploy

GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-s -w -buildid=" -o ./bin/lambda main.go
zip -j bin/lambda.zip bin/lambda

# 初回
aws lambda create-function --profile my_servlerless_batch --region ap-northeast-1 \
  --function-name gatherlambda --zip-file fileb://bin/lambda.zip --handler lambda --runtime go1.x \
  --role arn:aws:iam::123456789012:role/serverless-batch-lambdarole

# 2回目以降
aws lambda update-function-code --profile my_servlerless_batch --region ap-northeast-1 --function-name gatherlambda --zip-file fileb://bin/lambda.zip

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL