frankcash / Go Lambda Ping
Licence: mit
Deploy a Lambda to Ping a Site in 20 Seconds!
Stars: ✭ 195
Programming Languages
golang
3204 projects
Projects that are alternatives of or similar to Go Lambda Ping
Lambda Deployment Example
Automated Lambda Deployments with Terraform & CodePipeline
Stars: ✭ 25 (-87.18%)
Mutual labels: aws-lambda, terraform, hcl
Modules.tf Lambda
Infrastructure as code generator - from visual diagrams created with Cloudcraft.co to Terraform
Stars: ✭ 267 (+36.92%)
Mutual labels: serverless, aws-lambda, terraform
Serverless Libreoffice
Run LibreOffice in AWS Lambda to create PDFs & convert documents
Stars: ✭ 410 (+110.26%)
Mutual labels: serverless, aws-lambda, terraform
Terraform Sqs Lambda Trigger Example
Example on how to create a AWS Lambda triggered by SQS in Terraform
Stars: ✭ 31 (-84.1%)
Mutual labels: aws-lambda, terraform, hcl
Curso Aws Com Terraform
🎦 🇧🇷 Arquivos do curso "DevOps: AWS com Terraform Automatizando sua infraestrutura" publicado na Udemy. Você pode me ajudar comprando o curso utilizando o link abaixo.
Stars: ✭ 62 (-68.21%)
Mutual labels: aws-lambda, terraform, hcl
Terraform Aws Lambda
Terraform module, which takes care of a lot of AWS Lambda/serverless tasks (build dependencies, packages, updates, deployments) in countless combinations
Stars: ✭ 190 (-2.56%)
Mutual labels: serverless, aws-lambda, hcl
Serverless static website with basic auth
Builds a serverless infrastructure in AWS for hosting a static website protected with Basic Authentication and published on a subdomain registered via Route 53
Stars: ✭ 112 (-42.56%)
Mutual labels: serverless, aws-lambda, terraform
Hello Lambda
🔥 An example of a Python (AWS) Lambda exposed with API Gateway, configured with Terraform.
Stars: ✭ 114 (-41.54%)
Mutual labels: aws-lambda, terraform, hcl
Es2017 Lambda Boilerplate
AWS Lambda boilerplate for Node.js 6.10, adding ES2018/7/6 features, Docker-based unit testing and various CI/CD configurations
Stars: ✭ 169 (-13.33%)
Mutual labels: serverless, aws-lambda
Terraform Aws Cloudtrail Cloudwatch Alarms
Terraform module for creating alarms for tracking important changes and occurrences from cloudtrail.
Stars: ✭ 170 (-12.82%)
Mutual labels: terraform, hcl
Serverless Aws Alias
Alias support for Serverless 1.x
Stars: ✭ 171 (-12.31%)
Mutual labels: serverless, aws-lambda
Laravel Bridge
Package to use Laravel on AWS Lambda with Bref
Stars: ✭ 168 (-13.85%)
Mutual labels: serverless, aws-lambda
Elm Serverless
Maintained at: https://github.com/the-sett/elm-serverless
Stars: ✭ 168 (-13.85%)
Mutual labels: serverless, aws-lambda
Terraform Aws Components
Opinionated, self-contained Terraform root modules that each solve one, specific problem
Stars: ✭ 168 (-13.85%)
Mutual labels: terraform, hcl
Terraform Aws Cloudfront S3 Cdn
Terraform module to easily provision CloudFront CDN backed by an S3 origin
Stars: ✭ 162 (-16.92%)
Mutual labels: terraform, hcl
Spider Less
Web spider as a service, spider on serverless
Stars: ✭ 172 (-11.79%)
Mutual labels: serverless, aws-lambda
K8s Scw Baremetal
Kubernetes installer for Scaleway bare-metal AMD64 and ARMv7
Stars: ✭ 176 (-9.74%)
Mutual labels: terraform, hcl
Aws Lambda Ocaml Runtime
An OCaml custom runtime for AWS Lambda
Stars: ✭ 163 (-16.41%)
Mutual labels: serverless, aws-lambda
Tfk8s
A tool for converting Kubernetes YAML manifests to Terraform HCL
Stars: ✭ 167 (-14.36%)
Mutual labels: terraform, hcl
Serverlessish
Run the same Docker images in AWS Lambda and AWS ECS
Stars: ✭ 177 (-9.23%)
Mutual labels: serverless, aws-lambda
go-lambda-ping
A simple program that will build the infrastructure to ping a website.
Gathering Dependencies
go get github.com/aws/aws-lambda-go/lambda
Configuration
The Go program exists inside of function/
. main.tf
is the Terraform configuration for the Lambda.
Configuring the Site
Change url := "http://example.com/"
to url := "<desired-site>"
in function/function.go
.
Building the Zip
In the function
directory run make release
to generate the binary and then zip it.
Deploying the Lambda
-
Run
terraform init
to initialize the terraform repository. -
Then run
terraform plan
to create the execution plan. -
Finally,
terraform apply
to apply the changes (run the execution plan).
Trigger the Lambda
aws lambda invoke \
--invocation-type RequestResponse \
--function-name demo_lambda \
--region us-east-1 \
--log-type Tail \
--payload '{"key1":"value1", "key2":"value2", "key3":"value3"}' \
outputfile.txt
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].