From 121e2724b706fddc7011f9df5c85a49de09f60ab Mon Sep 17 00:00:00 2001 From: Mark McCulloh Date: Thu, 12 Jun 2025 11:25:53 -0400 Subject: [PATCH] fix: add arch --- src/common/helpers/custom-resource-provider-helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/helpers/custom-resource-provider-helper.ts b/src/common/helpers/custom-resource-provider-helper.ts index e8b65706..7faad665 100644 --- a/src/common/helpers/custom-resource-provider-helper.ts +++ b/src/common/helpers/custom-resource-provider-helper.ts @@ -115,7 +115,7 @@ export function buildCustomResourceProvider(props: CRProviderProps): ICRProvider }); const customResourceFunction = new lambda.Function(this, 'CustomResourcesFunction', { - code: lambda.Code.fromDockerBuild(codePath), + code: lambda.Code.fromDockerBuild(codePath, { platform: 'linux/amd64' }), handler, runtime, layers,