Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Update cloudformation template (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmkiley authored Aug 4, 2020
1 parent e020849 commit 1aaf3f7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions cloudformation/ci.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,29 @@ const template = {
}
]
}
},
{
PolicyName: 'upload-sdk-registry',
PolicyDocument: {
Statement: [
{
Action: ['s3:ListBucket'],
Effect: 'Allow',
Resource: [
'arn:aws:s3:::mapbox-api-downloads-production',
'arn:aws:s3:::mapbox-api-downloads-staging'
]
},
{
Action: ['s3:PutObject'],
Effect: 'Allow',
Resource: [
'arn:aws:s3:::mapbox-api-downloads-production/v2/*',
'arn:aws:s3:::mapbox-api-downloads-staging/v2/*'
]
}
]
}
}
]
}
Expand Down

0 comments on commit 1aaf3f7

Please sign in to comment.