Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save joshmenden/d6d735486ae080b703900d212b6033c8 to your computer and use it in GitHub Desktop.
Save joshmenden/d6d735486ae080b703900d212b6033c8 to your computer and use it in GitHub Desktop.
build:
GOOS=linux GOARCH=amd64 go build -o main cmd/main.go
run:
go run cmd/main.go -local=true
zip:
zip golang-lambda-function-cdk-template.zip main
clean:
rm main golang-lambda-function-cdk-template.zip || true
deploy: clean build zip
cd .infra && cdk deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment