Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
fix(dfu): allow to get object
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Sep 17, 2019
1 parent 6e14ea1 commit be69af7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cdk/resources/DFUStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ export class DFUStorage extends CloudFormation.Resource {
userRole.addToPolicy(
new IAM.PolicyStatement({
resources: [`${this.bucket.bucketArn}/*`, this.bucket.bucketArn],
actions: ['s3:ListBucket', 's3:PutObject', 's3:DeleteObject'],
actions: [
's3:ListBucket',
's3:PutObject',
's3:GetObject',
's3:DeleteObject',
],
}),
)
}
Expand Down

0 comments on commit be69af7

Please sign in to comment.