Skip to content

Commit fba51c8

Browse files
committed
Fix import
1 parent 6d5cfbe commit fba51c8

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

SAMtemplates/functions/main.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ Parameters:
2525
Type: String
2626
Default: none
2727

28+
NHSNotifyPrescriptionsSQSQueueUrl:
29+
Type: String
30+
Default: none
31+
2832
LogLevel:
2933
Type: String
3034

@@ -357,7 +361,7 @@ Resources:
357361
Environment:
358362
Variables:
359363
LOG_LEVEL: !Ref LogLevel
360-
NHS_NOTIFY_PRESCRIPTIONS_SQS_QUEUE_URL: !ImportValue !Sub ${StackName}-NHSNotifyPrescriptionsSQSQueueUrl
364+
NHS_NOTIFY_PRESCRIPTIONS_SQS_QUEUE_URL: !Ref NHSNotifyPrescriptionsSQSQueueUrl
361365
Events:
362366
ScheduleEvent:
363367
Type: ScheduleV2

SAMtemplates/main_template.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ Resources:
134134
Parameters:
135135
StackName: !Ref AWS::StackName
136136
PrescriptionStatusUpdatesTableName: !GetAtt Tables.Outputs.PrescriptionStatusUpdatesTableName
137+
NHSNotifyPrescriptionsSQSQueueUrl: !GetAtt Messaging.Outputs.NHSNotifyPrescriptionsSQSQueueUrl
137138
LogLevel: !Ref LogLevel
138139
LogRetentionInDays: !Ref LogRetentionInDays
139140
EnableSplunk: !Ref EnableSplunk

0 commit comments

Comments
 (0)