Skip to content

Simple Go-based Lambda project created to become more familiar with Go and AWS Lambda functionality.

Notifications You must be signed in to change notification settings

kdaigh/learn-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Learn Lambda

This is a very simple Go-based Lambda project created to become more familiar with Go and AWS Lambda functionality.

Goals

  • 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.

Usage

Prerequisites

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+.

Usage

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
}

Tech Stack

Helpful Links

About

Simple Go-based Lambda project created to become more familiar with Go and AWS Lambda functionality.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published