Skip to content

Commit

Permalink
Allow pruge for consumer in integration testing
Browse files Browse the repository at this point in the history
  • Loading branch information
berejant authored Oct 1, 2024
1 parent 6cc6139 commit e973daf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ resources:
- 'sqs:ReceiveMessage'
- 'sqs:DeleteMessage'
- 'sqs:GetQueueUrl'
- !If
- IsIntegrationTesting
- 'sqs:PurgeQueue'
- !Ref AWS::NoValue
Resource:
- 'Fn::Join':
- ':'
Expand Down

0 comments on commit e973daf

Please sign in to comment.