We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49b084d commit 1b1ae8dCopy full SHA for 1b1ae8d
lib/restate-constructs/service-deployer.ts
@@ -96,6 +96,7 @@ export class ServiceDeployer extends Construct {
96
props?: Pick<
97
lambda_node.NodejsFunctionProps,
98
| "allowPublicSubnet"
99
+ | "architecture"
100
| "bundling"
101
| "code"
102
| "entry"
@@ -115,7 +116,7 @@ export class ServiceDeployer extends Construct {
115
116
logGroup: props?.logGroup,
117
description: "Restate custom registration handler",
118
entry: props?.entry ?? path.join(__dirname, "register-service-handler/index.js"),
- architecture: lambda.Architecture.ARM_64,
119
+ architecture: props?.architecture ?? lambda.Architecture.ARM_64,
120
runtime: lambda.Runtime.NODEJS_LATEST,
121
memorySize: 128,
122
timeout: props?.timeout ?? DEFAULT_TIMEOUT,
0 commit comments