Skip to content

Commit

Permalink
fix: add event bus permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed May 19, 2023
1 parent 16ee9d9 commit db9bb61
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion stacks/replicator-stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ export function ReplicatorStack({ stack, app }) {
REPLICATOR_BUCKET_PUBLIC_URL: process.env.R2_CARPARK_BUCKET_PUBLIC_URL || '',
EVENT_BUS_ARN: eventBus.eventBusArn
},
permissions: ['s3:*'],
permissions: [
's3:*',
eventBus
],
handler: 'functions/replicator.handler',
timeout: 15 * 60,
}
Expand Down

0 comments on commit db9bb61

Please sign in to comment.