-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.ts
31 lines (28 loc) · 857 Bytes
/
.projenrc.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { javascript } from "projen";
import { CdktfTypeScriptApp } from "projen-cdktf-app-ts";
const project = new CdktfTypeScriptApp({
defaultReleaseBranch: "main",
depsUpgradeOptions: { workflow: false },
devDeps: ["projen-cdktf-app-ts"],
eslint: true,
minNodeVersion: "20.11.1",
name: "cdktf-aws-log-ecs-errored-tasks",
packageManager: javascript.NodePackageManager.PNPM,
pnpmVersion: "9.0.4",
prettier: true,
projenrcTs: true,
deps: [
"@middy/core@5.2.3",
"@middy/http-error-handler",
"@aws-lambda-powertools/logger",
"@types/aws-lambda",
"@aws-sdk/client-ecs",
],
terraformProviders: [
"hashicorp/aws@~> 5.52.0",
"jSherz/node-lambda-packager@~> 1.2.0",
],
});
// Generate CDKTF constructs after installing deps
project.tasks.tryFind("install")?.spawn(project.cdktfTasks.get);
project.synth();