ledgerflow-backend/infra/bin/app.js
Adam Moussa 9a6f37133e Fix stack naming to follow kebab-case convention
Pin existing CloudFormation stack name via stackName property so
the live stack is not affected. Construct ID now follows the org
kebab-case standard.
2026-04-28 14:43:49 -04:00

17 lines
455 B
JavaScript

#!/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();
new LedgerFlowStack(app, "ledgerflow", {
stackName: "LedgerFlow",
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();