Skip to content

Commit

Permalink
Merge pull request #388 from openaddresses/include-data-s3-bucket
Browse files Browse the repository at this point in the history
Include data.openaddresses.io in batch job role
  • Loading branch information
ingalls authored May 15, 2024
2 parents 609b9c9 + baa9d8b commit 14322c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cloudformation/lib/batch.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ export default {
Effect: 'Allow',
Action: ['s3:PutObject', 's3:GetObject'],
Resource: [cf.join(['arn:aws:s3:::', cf.ref('Bucket'), '/*'])]
},{
Effect: 'Allow',
Action: ['s3:GetObject'],
Resource: [cf.join(['arn:aws:s3:::data.openaddresses.io/*'])]
},{
Effect: 'Allow' ,
Action: ['batch:DescribeJobs'],
Expand Down

0 comments on commit 14322c1

Please sign in to comment.