Skip to content

Commit

Permalink
Merge pull request #218 from guardian/moreFixes
Browse files Browse the repository at this point in the history
sf datalake export fixes
  • Loading branch information
pvighi committed Nov 21, 2018
2 parents 67b4db9 + 16d863f commit e795e88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion handlers/sf-datalake-export/cfn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Resources:
- logs:CreateLogStream
- logs:PutLogEvents
- lambda:InvokeFunction
Resource: !Sub "arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/lambda/sf-get-batch-state-${Stage}:log-stream:*"
Resource: !Sub "arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/lambda/sf-download-batch-${Stage}:log-stream:*"
- PolicyName: ReadPrivateCredentials
PolicyDocument:
Statement:
Expand All @@ -158,6 +158,7 @@ Resources:
- s3:PutObject
- s3:GetObjectVersion
- s3:DeleteObjectVersion
- s3:PutObjectAcl
Resource: !FindInMap [StageMap, !Ref Stage, destBuckets]
DownloadBatch:
Type: AWS::Lambda::Function
Expand Down

0 comments on commit e795e88

Please sign in to comment.