Let's pretend you want to create a AWS Lambda project called "sns-processor".

Overview

Usage

Let's pretend you want to create a AWS Lambda project called "sns-processor". Rather than using lambda and then editing the results to include your name, email, and various configuration issues that always get forgotten until the worst possible moment, get cookiecutter_ to do all the work.

First, get Cookiecutter. Trust me, it's awesome::

=1.7.0"">
$ pip install "cookiecutter>=1.7.0"

Now run it against this repo::

$ cookiecutter https://github.com/zahaar/go-lambda-cookiecutter

You'll be prompted for some values. Provide them, then a Lambda sample project will be created for you.

Warning: After this point, change '[My Lambda]', 'lambda_description', etc to your own information.

Answer the prompts with your own desired options_. For example::

lambda_name [My Lambda]:
lambda_version [0.1.0]:
lambda_slug [MyLambda]:
lambda_slug_lower [my_lambda]: sns-processor
lambda_description [GoLang lambda for My Lambda]:
author_name [Engineering Department]:
author_email [[email protected]]:
go_version [1.16]:
go_module_path [example.com]:
Select event_type:
1 - SNS
2 - S3
3 - API_GW
Choose from 1, 2, 3 [1]:
sentry_dsn []:
Select license:
1 - MIT
2 - BSD-3
3 - GNU GPL v3.0
4 - Apache 2.0
5 - Mozilla 2.0
Choose from 1, 2, 3, 4, 5 [1]:
Select add_git:
1 - True
2 - False
Choose from 1, 2 [1]:
go: creating new go.mod: module example.com
go: to add module requirements and sums:
go mod tidy
go: finding module for package github.com/getsentry/sentry-go
go: finding module for package github.com/lib/pq
go: finding module for package github.com/aws/aws-lambda-go/events
go: finding module for package github.com/aws/aws-lambda-go/lambda
go: downloading github.com/aws/aws-lambda-go v1.27.1
go: downloading github.com/getsentry/sentry-go v0.12.0
go: found github.com/aws/aws-lambda-go/events in github.com/aws/aws-lambda-go v1.27.1
go: found github.com/aws/aws-lambda-go/lambda in github.com/aws/aws-lambda-go v1.27.1
go: found github.com/getsentry/sentry-go in github.com/getsentry/sentry-go v0.12.0
go: found github.com/lib/pq in github.com/lib/pq v1.10.4
go: downloading golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac
sam build
Building codeuri: /Users/wparker/Dev/sns-processor runtime: go1.x metadata: {} architecture: x86_64 functions: ['MyLambda']
Running GoModulesBuilder:Build

Enter the project and take a look around::

$ cd sns-processor/
$ ls

IMPORTANT: take a look at README.md file generated inside of Lambda folder

$ cat sns-processor/README.md
Python code to control laboratory hardware and perform Bayesian reaction optimization on the MIT Make-It system for chemical synthesis

Description This repository contains code accompanying the following paper on the Make-It robotic flow chemistry platform developed by the Jensen Rese

Anirudh Nambiar 11 Dec 10, 2022
Small pip update helpers.

pipdate pipdate is a collection of small pip update helpers. The command pipdate # or python3.9 -m pipdate updates all your pip-installed packages. (O

Nico Schlömer 69 Dec 18, 2022
A way to write regex with objects instead of strings.

Py Idiomatic Regex (AKA iregex) Documentation Available Here An easier way to write regex in Python using OOP instead of strings. Makes the code much

Ryan Peach 18 Nov 15, 2021
Random Programming Language Project

Crastle Random Programming Language Project Freedom of expression Are you a fan of curly brace languages? Then use curly braces! Not a fan of curly br

DevNugget 2 Dec 23, 2021
A smart personal companion and health assistant.

Steps to Install : Clone the repository Go to ResQ-Sources Execute ResQ-Lite.py --: Manual Controls : DanceRobot.py --: You can call functions like fo

Tuhinadri Banerjee 1 May 25, 2022
A continuation Of Project Glow By @glowstik-yt

Project Glow Greetings, I see you have stumbled upon project glow. Project glow is an open source bot worked on by many people to create a good and sa

1 Nov 17, 2021
Automatically re-open threads when they get archived, no matter your boost level!

ThreadPersist Automatically re-open threads when they get archived, no matter your boost level! Installation You will need to install poetry to run th

7 Sep 18, 2022
An example module hooking system, will be used in PySAMP.

An example module hooking system, will be used in PySAMP.

2 May 01, 2022
Reload all Blender add-on modules

Reload-Addon This add-on creates a list of the modules that the add-on selected in the drop-down menu contains and reloads them with the keyboard shor

2 Dec 02, 2021
🪄 Auto-generate Streamlit UI from Pydantic Models and Dataclasses.

Streamlit Pydantic Auto-generate Streamlit UI elements from Pydantic models. Getting Started • Documentation • Support • Report a Bug • Contribution •

Lukas Masuch 103 Dec 25, 2022
Resources for the 2021 offering of COMP 598

comp598-2021 Resources for the 2021 offering of COMP 598 General submission instructions Important Please read these instructions located in the corre

Derek Ruths 23 May 18, 2022
「📖」Tool created to extract metadata from a domain

Metafind is an OSINT tool created with the aim of automating the search for metadata of a particular domain from the search engine known as Google.

9 Dec 28, 2022
The Open edX platform, the software that powers edX!

This is the core repository of the Open edX software. It includes the LMS (student-facing, delivering courseware), and Studio (course authoring) compo

edX 6.2k Jan 01, 2023
Coded in Python 3 - I make for education, easily clone simple website.

Simple Website Cloner - Single Page Coded in Python 3 - I make for education, easily clone simple website. How to use ? Install Python 3 first. Instal

Phạm Đức Thanh 2 Jan 13, 2022
Search and Find Jobs in Ethiopia

✨ EthioJobs ✨ Search and Find Jobs in Ethiopia Easy start critical warning Use pycharm No vscode No sublime No Vim No nothing when you want to use

Abdimk 12 Nov 09, 2022
"Hacking" the (Telekom) Zyxel GPON SFP module (PMG3000-D20B)

"Hacking" the (Telekom) Zyxel GPON SFP module (PMG3000-D20B) The SFP can be sour

Matthias Riegler 52 Jan 03, 2023
An a simple sistem code in python

AMS OS An a simple code in python ⁕¿What is AMS OS? AMS OS is an a simple sistem code writed in python. This code helps you with the cotidian task, yo

1 Nov 10, 2021
A ULauncher/Albert extension that supports currency, units and date time conversion, as well as a calculator that supports complex numbers and functions.

Ulauncher/Albert Calculate Anything Ulauncher/Albert Calculate Anything is an extension for Ulauncher and Albert to calculate things like currency, ti

tchar 67 Jan 01, 2023
Backups made easy, automated, monitored and SECURED with an audited encryption

Backup Controller Backups made easy, automated, monitored and SECURED with an audited encryption. Schedules backup tasks executed by Backup Maker, upl

RiotKit 1 Jan 30, 2022
Template (v0) do Sistema Chatbot - atividade síncrona - INE5404

ine-5404-sistema-chatbot-template Template (v0) do Sistema Chatbot - atividade síncrona - INE5404 Veja abaixo um exemplo de funcionamento do sistema:

0 Dec 07, 2021