https://github.com/nullstone-modules/aws-lambda-service
Nullstone module for AWS to launch a lambda service
https://github.com/nullstone-modules/aws-lambda-service
aws lambda nullstone terraform terraform-module
Last synced: 4 months ago
JSON representation
Nullstone module for AWS to launch a lambda service
- Host: GitHub
- URL: https://github.com/nullstone-modules/aws-lambda-service
- Owner: nullstone-modules
- License: mit
- Created: 2021-04-29T19:20:52.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-09-22T19:59:26.000Z (8 months ago)
- Last Synced: 2026-01-30T14:55:49.616Z (4 months ago)
- Topics: aws, lambda, nullstone, terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 98.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Security: security-group.tf
Awesome Lists containing this project
README
# Lambda Application
Create a Nullstone application that is served through AWS Lambda.
This application module creates an AWS Lambda using the built-in runtimes that AWS Lambda offers (see https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html).
## When to use
AWS Lambda is a great choice for applications that require short bursts of execution (< 15 minutes).
There are no servers to manage.
Security and deployment are controlled explicitly through infrastructure code.
## Security & Compliance
Security scanning is graciously provided by [Bridgecrew](https://bridgecrew.io/).
Bridgecrew is the leading fully hosted, cloud-native solution providing continuous Terraform security and compliance.







## Network Access
Nullstone places the Lambda Function into private subnets for the connected network.
As a result, the Lambda Function can route to services on the private network.
## Execution
This application module supports various capabilities to handle execution of a Lambda Function.
- Ingress: Enables public access to execute Lambda as HTTP Request (e.g. API Gateway capabilities)
- Trigger: Enable events to execute Lambda (e.g. Cron Trigger, SQS Queue)
- CLI Execution: `nullstone exec` (See [`exec`](https://docs.nullstone.io/getting-started/cli/docs.html#exec) for more information)
## Logs
Logs are automatically emitted to AWS Cloudwatch Log Group: `/aws/lambda/`.
To access through the Nullstone CLI, use `nullstone logs` CLI command. (See [`logs`](https://docs.nullstone.io/getting-started/cli/docs.html#logs) for more information)
## Secrets
Nullstone cannot automatically inject secrets into your Lambda application.
Instead, Nullstone injects environment variables that refer to secrets stored in AWS Secrets Manager.
If the Nullstone app has a secret `POSTGRES_URL`, Nullstone will inject `POSTGRES_URL_SECRET_ID` that contains the Secrets Manager Secret ID to retrieve.
For more information on how to retrieve secrets for your language, check out [Retrieve secrets from AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets.html).