terraform-provider-openfaas
terraform-aws-lambda
terraform-provider-openfaas | terraform-aws-lambda | |
---|---|---|
1 | 13 | |
47 | 851 | |
- | 4.3% | |
0.0 | 8.1 | |
almost 4 years ago | 9 days ago | |
Go | HCL | |
Mozilla Public License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
terraform-provider-openfaas
-
Show HN: AWS Lambda Terraform Cookbook with working examples
Alex, OpenFaaS founder here. The author has done a huge amount of work here, I am surprised that it's being given away for free, and not being monetized (it should be).
I often hear folks complain that Kubernetes is complex, and hard to understand. We've done a lot of work to make the experience of deploying functions simple on K8s, with very little to manage. But it still costs you a K8s cluster.
We created a new of openfaas called "faasd" which can run very well somewhere like DO or Hetzner for 3 EUR / mo. It doesn't include clustering, but is likely to be suitable for a lot of folks, who don't want to get deep into IAM territory.
The REST API for OpenFaaS has a terraform provider that works with either version - https://github.com/ewilde/terraform-provider-openfaas
And there's a guide on setting up faasd with TLS on DigitalOcean, it took about 30 seconds to launch, and makes building functions much simpler than Lambda. "faas-cli up"
https://www.openfaas.com/blog/faasd-tls-terraform/
If I were going to use Lambda, the author's examples are probably what I would turn to, but there are other ways and it needn't be this complex.
terraform-aws-lambda
- Is Terraform Cloud's VCS to GitHub more beneficial than their API-Driven Workflow? An AWS Terraform Lambda Module's Code has me stumped!
-
Serverless Semantic Search, Free tier only
There are just too many required parameters to create a single handler. And then you need to do that N times for each handler. Take a look at a complete Terraform example for a lambda: https://github.com/terraform-aws-modules/terraform-aws-lambd...
For a personal project it's just a bit much in my experience, especially since most personal projects can easily be served by a t3.micro.
-
How on earth do you deploy AWS Lambdas?
https://github.com/terraform-aws-modules/terraform-aws-lambda/ - this modules has it all. There are various examples and submodules in that repository to help you achieve all your serverless tasks the same way.
-
Cloud, Why So Difficult?
It’s also weird not to know about terraform modules. There are a lot of things you _can_ configure because there are a lot of things people need to configure but if you’re using something like https://github.com/terraform-aws-modules/terraform-aws-lambd... it’s only a couple of lines of config for a Lambda.
-
TypeScript Lambda with cdktf
I use the Community Terraform Lambda Module to define the lambda. It allows me to define a lambda in just a few lines that are configured with a role and can also be easily extended with policies. The cool thing is that cdktf supports a type import. To do this, simply add the following module to the cdktf.json file:
-
Lambda functions in terraform
As somebody already mentioned in the comments, you can use the terraform-aws-lambda module as well as many other modules for typical serverless services like API Gateway v2, AppSync, EventBridge, StepFunctions, AppConfig, DynamoDB, and many more.
-
mutitple lambda functions in one deployment
You can containerize the lambda functions and when you deploy each lambda function, you can overwrite the CMD for each function in the resource block to match what you need. I'm doing something similar but only deploy 2 lambda functions which use the same source code but do very different tasks. I also strongly suggest you use the terraform-aws-lambda module since it will build out all related resources you need.
- Scastie now blocks russian IPs
-
Deploying a lambda with terraform that contains multiple files?
Have a look at this module: https://github.com/terraform-aws-modules/terraform-aws-lambda
-
Is there support for adding RDS proxy to lambda function in terraform, I don't see anything in documentation?
I can't find any open issues on github or anyone asking for it other than in the modules that are provided. https://github.com/terraform-aws-modules/terraform-aws-lambda/issues/128
What are some alternatives?
infracost - Cloud cost estimates for Terraform in pull requests💰📉 Shift FinOps Left!
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
count - Comparing serverless platforms
terraform-aws-route53 - Terraform module to create AWS Route53 resources 🇺🇦
covid-alert-server-staging-terraform
opentelemetry-lambda - Create your own Lambda Layer in each OTel language using this starter code. Add the Lambda Layer to your Lamdba Function to get tracing with OpenTelemetry.
terraform-aws-apigateway-v2 - Terraform module to create AWS API Gateway v2 (HTTP/WebSocket) 🇺🇦
lambda-the-terraform-way - AWS Lambda using Terraform., an Introductory Cookbook
terraform-provider-aws - The AWS Provider enables Terraform to manage AWS resources.
djambda - Djambda is an example project setting up Django application in AWS Lambda managed by Terraform.