
Product
Introducing Reachability for PHP
Reachability analysis for PHP is now available in experimental, helping teams identify which vulnerabilities are actually exploitable.
@donswayo/pulumi-sveltekit-aws
Advanced tools
A SvelteKit adapter and Pulumi library for deploying SvelteKit applications to AWS using Lambda, S3, and CloudFront.
pnpm add @donswayo/pulumi-sveltekit-aws
In your svelte.config.js:
import adapter from '@donswayo/pulumi-sveltekit-aws/adapter';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter({
out: '.svelte-kit-aws',
precompress: false,
polyfill: true,
})
}
};
export default config;
pnpm build
This will create a .svelte-kit-aws directory with:
server/ - Lambda function codestatic/ - Static assetsprerendered/ - Prerendered pagesmetadata.json - Deployment metadataCreate a Pulumi program:
import * as pulumi from "@pulumi/pulumi";
import { SvelteKitAwsDeployment } from "@repo/pulumi-sveltekit-aws";
const app = new SvelteKitAwsDeployment("my-sveltekit-app", {
buildPath: "./apps/web/.svelte-kit-aws",
environment: {
NODE_ENV: "production",
PUBLIC_API_URL: "https://api.example.com",
},
lambda: {
memory: 512,
timeout: 30,
architecture: "arm64",
},
domain: {
name: "app.example.com",
certificateArn: "arn:aws:acm:us-east-1:...:certificate/...",
},
priceClass: "PriceClass_100",
tags: {
Environment: "production",
Team: "frontend",
},
});
export const url = app.url;
export const distributionId = app.distributionId;
Deploy:
pulumi up
| Option | Type | Default | Description |
|---|---|---|---|
out | string | .svelte-kit-aws | Output directory for build |
precompress | boolean | false | Precompress static assets |
envPrefix | string | "" | Environment variable prefix filter |
polyfill | boolean | true | Add Node.js polyfills |
| Option | Type | Description |
|---|---|---|
buildPath | string | Path to adapter build output |
environment | Record<string, string> | Environment variables for Lambda |
domain | { name, certificateArn } | Custom domain configuration |
lambda | { memory, timeout, architecture } | Lambda configuration |
priceClass | string | CloudFront price class |
tags | Record<string, string> | AWS resource tags |
The deployment creates:
_app/*, *.js, *.css, etc.) are served from S3You can use individual components for custom deployments:
import {
createS3Bucket,
createServerFunction,
createCloudFrontDistribution,
} from "@repo/pulumi-sveltekit-aws";
// Custom deployment logic
# Install dependencies
pnpm install
# Build the package
pnpm build
# Type check
pnpm check-types
MIT
FAQs
SvelteKit adapter and Pulumi components for deploying to AWS
We found that @donswayo/pulumi-sveltekit-aws demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Reachability analysis for PHP is now available in experimental, helping teams identify which vulnerabilities are actually exploitable.

Product
Export Socket alert data to your own cloud storage in JSON, CSV, or Parquet, with flexible snapshot or incremental delivery.

Research
/Security News
Bitwarden CLI 2026.4.0 was compromised in the Checkmarx supply chain campaign after attackers abused a GitHub Action in Bitwarden’s CI/CD pipeline.