There was an error while loading. Please reload this page.
1 parent 1ca3494 commit e0d0e56Copy full SHA for e0d0e56
1 file changed
lib/stacks/platform-stack.ts
@@ -52,6 +52,19 @@ export class TrustedLearningContextServiceStack extends Stack {
52
handler: "handler",
53
timeout: Duration.seconds(60),
54
memorySize: 1024,
55
+ bundling: {
56
+ commandHooks: {
57
+ beforeBundling() {
58
+ return [];
59
+ },
60
+ beforeInstall() {
61
62
63
+ afterBundling(inputDir: string, outputDir: string) {
64
+ return [`mkdir -p "${outputDir}/schemas" && cp -R "${inputDir}/schemas/." "${outputDir}/schemas/"`];
65
+ }
66
67
68
environment: {
69
CREDENTIAL_TABLE_NAME: storage.credentialTable.tableName,
70
EVENT_TABLE_NAME: storage.eventTable.tableName,
0 commit comments