From af604fc83dd0c10dcc7a72ca498f35809dff47de Mon Sep 17 00:00:00 2001 From: Madhu Nunna Date: Fri, 24 Apr 2026 18:25:40 -0700 Subject: [PATCH] fix: add missing tsconfig.json for VPC resources CDK tutorial MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 03-advanced-concepts/07-connect-to-vpc-resources tutorial ships a TypeScript CDK project (bin/app.ts, lib/vpc-fargate-stack.ts, cdk.json using ts-node) but was missing tsconfig.json, so 'npm run build' and 'cdk synth' failed with TypeScript compiler errors. Adds a standard CDK TypeScript tsconfig (matches 'cdk init app --language typescript' template) — verified with: npm install && ./node_modules/.bin/tsc --noEmit # exits 0 ./node_modules/.bin/cdk synth # produces valid CFN Fixes #1245 --- .../07-connect-to-vpc-resources/tsconfig.json | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 01-tutorials/01-AgentCore-runtime/03-advanced-concepts/07-connect-to-vpc-resources/tsconfig.json diff --git a/01-tutorials/01-AgentCore-runtime/03-advanced-concepts/07-connect-to-vpc-resources/tsconfig.json b/01-tutorials/01-AgentCore-runtime/03-advanced-concepts/07-connect-to-vpc-resources/tsconfig.json new file mode 100644 index 000000000..c7290bfb1 --- /dev/null +++ b/01-tutorials/01-AgentCore-runtime/03-advanced-concepts/07-connect-to-vpc-resources/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "commonjs", + "lib": ["es2022"], + "declaration": true, + "strict": true, + "noImplicitAny": true, + "strictNullChecks": true, + "noImplicitThis": true, + "alwaysStrict": true, + "noUnusedLocals": false, + "noUnusedParameters": false, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": false, + "inlineSourceMap": true, + "inlineSources": true, + "experimentalDecorators": true, + "strictPropertyInitialization": false, + "typeRoots": ["./node_modules/@types"] + }, + "exclude": ["node_modules", "cdk.out"] +}