Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use arm #1347

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

use arm #1347

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions SAMtemplates/functions/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Globals:
Timeout: 50
MemorySize: 256
Architectures:
- x86_64
- arm64
Runtime: nodejs20.x
Environment:
Variables:
Expand All @@ -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:
Expand Down
Loading