Created
January 23, 2023 01:39
-
-
Save joshmenden/d6d735486ae080b703900d212b6033c8 to your computer and use it in GitHub Desktop.
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
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