Skip to main content

carlin

CLI tool for deploying AWS cloud resources using CloudFormation templates.

pnpm add -D carlin

Documentation →

Typed Configuration

Use defineConfig from carlin/config for typed carlin.ts files:

import { defineConfig, requiredEnv } from 'carlin/config';

export default defineConfig(({ environment }) => {
return {
environment,
parameters: {
DomainName: 'api.example.com',
DatabasePassword: requiredEnv({ name: 'DATABASE_PASSWORD' }),
},
};
});

See the configuration docs for the full flow from environment variables to CloudFormation parameters.

License

MIT © Pedro Arantes