Flatten cdk/ subdirectory to match org convention

This commit is contained in:
Adam Moussa 2026-05-11 13:37:07 -04:00
parent c7969fc22e
commit 04cfb41b9a
4 changed files with 3 additions and 14 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env node #!/usr/bin/env node
const cdk = require("aws-cdk-lib"); const cdk = require("aws-cdk-lib");
const { GoogleUserSyncStack } = require("./lib/google-user-sync-stack"); const { GoogleUserSyncStack } = require("../lib/google-user-sync-stack");
const app = new cdk.App(); const app = new cdk.App();

View file

@ -1,3 +1,3 @@
{ {
"app": "node cdk/bin/app.js" "app": "node bin/app.js"
} }

View file

@ -1,11 +0,0 @@
{
"name": "google-user-sync-cdk",
"version": "1.0.0",
"bin": {
"app": "bin/app.js"
},
"dependencies": {
"aws-cdk-lib": "^2.150.0",
"constructs": "^10.0.0"
}
}

View file

@ -33,7 +33,7 @@ class GoogleUserSyncStack extends Stack {
runtime: lambda.Runtime.NODEJS_22_X, runtime: lambda.Runtime.NODEJS_22_X,
architecture: lambda.Architecture.ARM_64, architecture: lambda.Architecture.ARM_64,
handler: "index.handler", handler: "index.handler",
code: lambda.Code.fromAsset(path.join(__dirname, "..", "..", "lambda")), code: lambda.Code.fromAsset(path.join(__dirname, "..", "lambda")),
timeout: Duration.minutes(5), timeout: Duration.minutes(5),
memorySize: 256, memorySize: 256,
environment: { environment: {