File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ Parameters:
1616 SqsQueueArn :
1717 Type : String
1818
19+ Conditions :
20+ IsDev : !Equals [!Ref RunEnvironment, "dev"]
21+
1922Resources :
2023 # Managed Policy for Common Lambda Permissions
2124 CommonLambdaManagedPolicy :
@@ -254,6 +257,12 @@ Resources:
254257 StringEquals :
255258 ses:FromAddress :
256259 Fn::Sub : " sales@${SesEmailDomain}"
260+ ForAllValues:StringLike :
261+ ses:Recipients :
262+ - !If
263+ - IsDev
264+ - " *@illinois.edu"
265+ - " *"
257266
258267
259268 EdgeLambdaIAMRole :
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ MIME-Version: 1.0
243243Content-Type: multipart/mixed; boundary="${ boundary } "
244244From: ACM @ UIUC <${ senderEmail } >
245245To: ${ payload . email }
246- Subject: ${ subject }
246+ Subject: Your ACM @ UIUC Purchase
247247
248248--${ boundary }
249249Content-Type: text/html; charset="UTF-8"
You can’t perform that action at this time.
0 commit comments