File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -759,6 +759,11 @@ exports[`The FootballNotificationsLambda stack matches the snapshot for CODE 1`]
759759 ],
760760 },
761761 },
762+ {
763+ " Action" : " s3:GetObject" ,
764+ " Effect" : " Allow" ,
765+ " Resource" : " arn:aws:s3:::mobile-pa-football-data/*" ,
766+ },
762767 ],
763768 " Version" : " 2012-10-17" ,
764769 },
@@ -1593,6 +1598,11 @@ exports[`The FootballNotificationsLambda stack matches the snapshot for PROD 1`]
15931598 ],
15941599 },
15951600 },
1601+ {
1602+ " Action" : " s3:GetObject" ,
1603+ " Effect" : " Allow" ,
1604+ " Resource" : " arn:aws:s3:::mobile-pa-football-data/*" ,
1605+ },
15961606 ],
15971607 " Version" : " 2012-10-17" ,
15981608 },
Original file line number Diff line number Diff line change @@ -125,6 +125,14 @@ export class FootballNotificationsLambda extends GuStack {
125125 } ) ,
126126 ) ;
127127
128+ footballnotificationslambda . addToRolePolicy (
129+ new PolicyStatement ( {
130+ actions : [ 's3:GetObject' ] ,
131+ effect : Effect . ALLOW ,
132+ resources : [ `arn:aws:s3:::mobile-pa-football-data/*` ] ,
133+ } ) ,
134+ ) ;
135+
128136 // Read Throttle Events Alarm
129137 new GuAlarm ( this , 'MobileNotificationsFootballConsumedReadThrottleEvents' , {
130138 app,
You can’t perform that action at this time.
0 commit comments