Our great sponsors
-
terraform-aws-lambda
Terraform module, which takes care of a lot of AWS Lambda/serverless tasks (build dependencies, packages, updates, deployments) in countless combinations πΊπ¦
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
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.
Here is a project I did where I included the Python code, and got Terraform to zip the code and upload to Lambda. I did create the Lambda Layer manually with all the dependencies though.
Related posts
- Is Terraform Cloud's VCS to GitHub more beneficial than their API-Driven Workflow? An AWS Terraform Lambda Module's Code has me stumped!
- TypeScript Lambda with cdktf
- mutitple lambda functions in one deployment
- How on earth do you deploy AWS Lambdas?
- Optimizing Costs in the Cloud: Embracing a FinOps Mindset