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,