This is a very simple Go-based Lambda project created to become more familiar with Go and AWS Lambda functionality.
- Establish basic project functionality. Write code that illustrates some basic functionality of Lambda with Go. (In this case, that means generating a random number between 0 and "max".)
- Add Makefile functionality. Use Makefile to make the project easier to use and interact with.
Go can be downloaded here.
AWS CLI can be downloaded here. Note: Installing the AWS Command Line Interface requires Python 2 version 2.6.5+ or Python 3 version 3.3+.
Create a zip file of the project with the following command:
make zip
This will create a zip file titled handler.zip which can be uploaded directly to the Lambda function console once you've created a Lambda function.
An example test configuration for this project might be:
{
"id": 45678,
"max": 100
}
- Go - Language
- AWS Lambda - Serverless Platform
- Go Based AWS Lambda Tutorial - Tutorial Edge - Video tutorial covering the basics of project setup, configuration, and testing.