diff --git a/Makefile b/Makefile index 394a7e8ca..b6450ea28 100644 --- a/Makefile +++ b/Makefile @@ -115,7 +115,8 @@ compile: compile-node download-get-secrets-layer: mkdir -p packages/getSecretLayer/lib - curl -LJ https://github.com/NHSDigital/electronic-prescription-service-get-secrets/releases/download/$$(curl -s "https://api.github.com/repos/NHSDigital/electronic-prescription-service-get-secrets/releases/latest" | jq -r .tag_name)/get-secrets-layer.zip -o packages/getSecretLayer/lib/get-secrets-layer.zip +# curl -LJ https://github.com/NHSDigital/electronic-prescription-service-get-secrets/releases/download/$$(curl -s "https://api.github.com/repos/NHSDigital/electronic-prescription-service-get-secrets/releases/latest" | jq -r .tag_name)/get-secrets-layer.zip -o packages/getSecretLayer/lib/get-secrets-layer.zip + curl https://github.com/NHSDigital/electronic-prescription-service-get-secrets/actions/runs/11210354066/artifacts/2022391984 -o packages/getSecretLayer/lib/get-secrets-layer.zip lint-node: compile-node npm run lint --workspace packages/capabilityStatement diff --git a/SAMtemplates/functions/main.yaml b/SAMtemplates/functions/main.yaml index cd621740a..229a039c9 100644 --- a/SAMtemplates/functions/main.yaml +++ b/SAMtemplates/functions/main.yaml @@ -8,7 +8,7 @@ Globals: Timeout: 50 MemorySize: 256 Architectures: - - x86_64 + - arm64 Runtime: nodejs20.x Environment: Variables: @@ -22,7 +22,7 @@ Globals: SpineCAChainARN: !ImportValue account-resources:SpineCAChain ServiceSearchApiKeyARN: !ImportValue account-resources:ServiceSearchApiKey Layers: - - !Sub arn:aws:lambda:${AWS::Region}:580247275435:layer:LambdaInsightsExtension:52 + - !Sub arn:aws:lambda:${AWS::Region}:580247275435:layer:LambdaInsightsExtension-Arm64:20 Parameters: StackName: