mirror of
https://github.com/Sea-Haven-Industries/google-user-sync.git
synced 2026-05-18 20:20:17 +00:00
Flatten cdk/ subdirectory to match org convention
This commit is contained in:
parent
c7969fc22e
commit
04cfb41b9a
4 changed files with 3 additions and 14 deletions
|
|
@ -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();
|
||||||
|
|
||||||
2
cdk.json
2
cdk.json
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"app": "node cdk/bin/app.js"
|
"app": "node bin/app.js"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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: {
|
||||||
Loading…
Add table
Reference in a new issue