Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaDiotallevi committed Oct 2, 2023
1 parent e081f48 commit 6584506
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cdk/lib/single-contribution-salesforce-writes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ export class SingleContributionSalesforceWrites extends GuStack {
effect: Effect.ALLOW,
resources: [queue.queueArn],
actions: ['sqs:SendMessage'],
conditions: {
ArnEquals: {
'aws:SourceArn': `arn:aws:events:eu-west-1:865473395570:event-bus/acquisitions-bus-${props.stage}`,
},
},
// conditions: {
// ArnEquals: {
// 'aws:SourceArn': `arn:aws:events:eu-west-1:865473395570:event-bus/acquisitions-bus-${props.stage}`,
// },
// },
});

queue.addToResourcePolicy(policyStatement);
Expand Down

0 comments on commit 6584506

Please sign in to comment.