01
Runs the rendered app
Puts your Nitro or Next handler behind a Lambda function URL.
Component 09
Run a server-rendered application on Lambda, with its code loaded from S3.
Inputs in, outputs out. Illustrative wiring, not a standalone deployment.
Supply a deployment bucket and key for the function package, and upload a package before the first apply. Decide whether this component creates the execution role or you provide one. Configure provider requirements and credentials in your root module; check the documentation for all required inputs and version changes.
module "lambda" {
source = "pomo-studio/ssr-lambda/aws"
version = "~> 0.2"
function_name = "my-app-primary"
s3_bucket = module.storage.lambda_deployments_primary_id
s3_key = "lambda/function.zip"
handler = "index.handler"
runtime = "nodejs22.x"
}Key inputs
Useful outputs
01
Puts your Nitro or Next handler behind a Lambda function URL.
02
Loads the deployment package from a bucket and key you nominate.
03
Create an execution role or supply an existing one to share across functions.
Built with