Skip to content
Merged
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
15 changes: 5 additions & 10 deletions SAMtemplates/functions/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -431,12 +431,9 @@ Resources:
LOG_LEVEL: !Ref LogLevel
NHS_NOTIFY_PRESCRIPTIONS_SQS_QUEUE_URL: !Ref NHSNotifyPrescriptionsSQSQueueUrl
TABLE_NAME: !Ref PrescriptionNotificationStatesTableName
API_KEY_SECRET:
Fn::ImportValue: !Sub ${StackName}-PSU-Notify-API-Key
PRIVATE_KEY_SECRET:
Fn::ImportValue: !Sub ${StackName}-PSU-Notify-PrivateKey
KID_SECRET:
Fn::ImportValue: !Sub ${StackName}-PSU-Notify-KID
API_KEY_SECRET: secrets-PSU-Notify-API-Key
PRIVATE_KEY_SECRET: secrets-PSU-Notify-PrivateKey
KID_SECRET: secrets-PSU-Notify-Application-KID
NHS_NOTIFY_ROUTING_ID_PARAM: !Ref NotifyRoutingPlanIDParam
NOTIFY_API_BASE_URL_PARAM: !Ref NotifyAPIBaseURLParam
MAKE_REAL_NOTIFY_REQUESTS_PARAM: !Ref EnableNotificationsExternalParam
Expand Down Expand Up @@ -500,10 +497,8 @@ Resources:
Variables:
LOG_LEVEL: !Ref LogLevel
TABLE_NAME: !Ref PrescriptionNotificationStatesTableName
APP_ID_SECRET:
Fn::ImportValue: !Sub ${StackName}-PSU-Notify-Application-ID
API_KEY_SECRET:
Fn::ImportValue: !Sub ${StackName}-PSU-Notify-API-Key
APP_ID_SECRET: secrets-PSU-Notify-Application-ID
API_KEY_SECRET: secrets-PSU-Notify-API-Key
Metadata:
BuildMethod: esbuild
guard:
Expand Down