Simple AWS Lambda Functions written in Go to facilitate my exploration of building applications in AWS
This project is part of one big project where I research how to build infrastructure in AWS for 2-tier application (and application as well, of course) :
- Terraform contains all the terraform code to deploy required infra & application code
- Simple Web GUI contains code for simple Web GUI to bridge the gap between user and Lambda functions
- Lambda functions (this project) contain code for 3 Lambda functions that replicate simple backend functions
return_ip
- returns IP address of the Lambda functionfetch_go_versions
- returns JSON with recent 5 Go versionscustom_auth
- custom Lambda authorizer (only supports payload formatversion 1.0
) that controls access to functions1 & 2
when calling via API Gatewaycustom_auth_v2
- custom Lambda authorizer (only supports payload formatversion 2.0
) that controls access to functions1 & 2
when calling via API Gateway
- This repo uses Github Action to build & push compiled Golang into S3 and from there Functions are deployed with Terraform
- Lambda function gets build by Golang version 1.20