Deploy turborepo-remote-cache serverless on AWS using AWS CDK. v0.0.2 (initial release). Creates an S3 bucket and Lambda function with function URL to serve as a remote cache for Turborepo. Designed for CDK (Constructs) developers needing simple, API Gateway-free deployment. Requires aws-cdk-lib ^2.51.0 and constructs ^10.0.5. Not yet stable: API may change. Only TypeScript, ESM. Alternative has no security warnings but use with caution.
npm install cdk-turborepo-remote-cacheNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Deploys a Lambda function with S3 bucket for Turborepo remote cache. The API URL is printed after deployment.
Pin exact version and test upgrades carefully.
Use AWS Secrets Manager or SSM Parameter Store for production secrets.
Use Certificate with DNS validation in a separate stack deployed in us-east-1.
Set teamid to a string starting with 'team_', e.g., 'team_hello-world'.
Remove trailing slash from the Lambda function URL.
Run: npm install cdk-turborepo-remote-cache or yarn add cdk-turborepo-remote-cache
Use import statement: import { TurborepoRemoteCache } from 'cdk-turborepo-remote-cache'