We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f38ba4c commit 3814406Copy full SHA for 3814406
1 file changed
SAMtemplates/functions/main.yaml
@@ -444,11 +444,9 @@ Resources:
444
Variables:
445
LOG_LEVEL: !Ref LogLevel
446
TABLE_NAME: !Ref PrescriptionNotificationStatesTableName
447
- Secrets:
448
- APP_NAME:
449
- ValueFrom: !ImportValue secrets:PSUNotifyCallbackAppName
450
- API_KEY:
451
- ValueFrom: !ImportValue secrets:PSUNotifyCallbackApiKey
+ APP_NAME: !Sub "{{resolve:secretsmanager:PSUNotifyCallbackAppName:SecretString:AWSCURRENT}}"
+ API_KEY: !Sub "{{resolve:secretsmanager:PSUNotifyCallbackApiKey:SecretString:AWSCURRENT}}"
+
452
Metadata:
453
BuildMethod: esbuild
454
guard:
0 commit comments