diff --git a/lib/workload/stateless/sequence_run_manager/deploy/component.ts b/lib/workload/stateless/sequence_run_manager/deploy/component.ts index a3e3d2946..8b77c6ff8 100644 --- a/lib/workload/stateless/sequence_run_manager/deploy/component.ts +++ b/lib/workload/stateless/sequence_run_manager/deploy/component.ts @@ -9,6 +9,7 @@ import { HttpLambdaIntegration } from 'aws-cdk-lib/aws-apigatewayv2-integrations import { HttpMethod, HttpRoute, HttpRouteKey, HttpStage } from 'aws-cdk-lib/aws-apigatewayv2'; import { ManagedPolicy, Role, ServicePrincipal } from 'aws-cdk-lib/aws-iam'; import { SRMApiGatewayConstruct } from './apigw/component'; +import { Architecture } from 'aws-cdk-lib/aws-lambda'; export interface SequenceRunManagerProps { securityGroups: ISecurityGroup[]; @@ -56,6 +57,7 @@ export class SequenceRunManagerStack extends Stack { this.baseLayer = new PythonLayerVersion(this, this.id + 'Layer', { entry: path.join(__dirname, '../deps'), compatibleRuntimes: [this.lambdaRuntimePythonVersion], + compatibleArchitectures: [Architecture.ARM_64], }); this.createMigrationHandler(); @@ -73,6 +75,7 @@ export class SequenceRunManagerStack extends Stack { vpc: this.props.vpc, vpcSubnets: { subnets: this.props.vpc.privateSubnets }, role: this.lambdaRole, + architecture: Architecture.ARM_64, ...props, }); }