2026-04-02 18:19:38 -04:00
|
|
|
#!/usr/bin/env node
|
|
|
|
|
// infra/bin/app.js
|
|
|
|
|
const cdk = require("aws-cdk-lib");
|
|
|
|
|
const { LedgerFlowStack } = require("../lib/ledgerflow-stack");
|
|
|
|
|
|
|
|
|
|
const app = new cdk.App();
|
|
|
|
|
|
2026-04-28 14:43:49 -04:00
|
|
|
new LedgerFlowStack(app, "ledgerflow", {
|
|
|
|
|
stackName: "LedgerFlow",
|
2026-04-02 18:19:38 -04:00
|
|
|
env: {
|
|
|
|
|
account: process.env.CDK_DEFAULT_ACCOUNT,
|
|
|
|
|
region: process.env.CDK_DEFAULT_REGION || "us-east-1",
|
|
|
|
|
},
|
|
|
|
|
description: "LedgerFlow B2B Accounting — Lambda + API Gateway + DynamoDB",
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
app.synth();
|