Skip to content

Commit

Permalink
Mention the new runtime in README
Browse files Browse the repository at this point in the history
  • Loading branch information
akrylysov committed Aug 26, 2023
1 parent ad8f815 commit 8c3f649
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,12 @@ func main() {
First, build your Go application for Linux and zip it:

```bash
GOOS=linux GOARCH=amd64 go build -o handler
zip handler.zip handler
GOOS=linux GOARCH=amd64 go build -tags lambda.norpc -o bootstrap
zip function.zip bootstrap
```

When creating a new function, choose the "Provide your own bootstrap on Amazon Linux 2" runtime or "Custom runtime on Amazon Linux 2" when modifying an existing function. Make sure to use `bootstrap` as the executable name and as the handler name in AWS.

AWS provides plenty of ways to expose a Lambda function to the internet.

### Lambda Function URL
Expand Down

0 comments on commit 8c3f649

Please sign in to comment.