Skip to content

Commit

Permalink
add permissions for index.json
Browse files Browse the repository at this point in the history
Signed-off-by: Tianle Huang <[email protected]>
  • Loading branch information
tianleh committed Feb 14, 2022
1 parent cf6314b commit ec8909c
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 ec8909c

Please sign in to comment.