Skip to content

Commit

Permalink
add permissions for index.json (#1620)
Browse files Browse the repository at this point in the history
Signed-off-by: Tianle Huang <tianleh@amazon.com>
  • Loading branch information
tianleh authored Feb 14, 2022
1 parent 4030245 commit bddbc06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deployment/lib/identities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ export class Identities {
props.buildBucket.grantRead(bundleRole, '*/dist/*');
props.buildBucket.grantPut(bundleRole, '*/dist/*');

props.buildBucket.grantRead(bundleRole, '*/index.json');
props.buildBucket.grantPut(bundleRole, '*/index.json');

props.buildBucket.grantRead(testRole, '*/dist/*');
props.buildBucket.grantPut(testRole, '*/dist/*/tests/*');
props.buildBucket.grantPut(testRole, '*/test-results/*');
Expand Down

0 comments on commit bddbc06

Please sign in to comment.