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.
This commit is contained in:
Adam Moussa 2026-04-28 14:43:49 -04:00
parent 2c5a1b5a21
commit 9a6f37133e

View file

@ -5,7 +5,8 @@ const { LedgerFlowStack } = require("../lib/ledgerflow-stack");
const app = new cdk.App(); const app = new cdk.App();
new LedgerFlowStack(app, "LedgerFlow", { new LedgerFlowStack(app, "ledgerflow", {
stackName: "LedgerFlow",
env: { env: {
account: process.env.CDK_DEFAULT_ACCOUNT, account: process.env.CDK_DEFAULT_ACCOUNT,
region: process.env.CDK_DEFAULT_REGION || "us-east-1", region: process.env.CDK_DEFAULT_REGION || "us-east-1",