Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Visibility Timeout to SQS #2287

Merged
merged 26 commits into from
Oct 5, 2023
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
bf9b101
Add SQS/Lamda/Fargate Scan execution
aloftus23 Oct 4, 2023
8c33868
Merge branch 'master' into AL-pe-SQS
aloftus23 Oct 4, 2023
36fc6a8
Add policy allowing Accessor EC2 to send SQS messages
aloftus23 Oct 4, 2023
aa955a1
Add additional permissions for EC2 to interact with SQS
aloftus23 Oct 4, 2023
51715da
Add 10 minute timeout to the lambda function
aloftus23 Oct 4, 2023
f0dfdf9
remove extra lines in database.tf
aloftus23 Oct 4, 2023
b9f86c1
Edit accessor permission to be inline instead of a new policy
aloftus23 Oct 4, 2023
b4be807
Merge branch 'master' into AL-pe-SQS
aloftus23 Oct 4, 2023
40a9507
Format terraform
aloftus23 Oct 4, 2023
da40df3
Merge branch 'master' into AL-pe-SQS
aloftus23 Oct 4, 2023
c1794f4
Fix SQS in serverless deploy
aloftus23 Oct 4, 2023
c4deda0
Merge branch 'master' into AL-pe-SQS
aloftus23 Oct 4, 2023
fcebb6f
Run terraform fmt
aloftus23 Oct 4, 2023
0735f20
Fix merge conflict error
aloftus23 Oct 4, 2023
b4169d6
simplify lambda definition
aloftus23 Oct 4, 2023
380522f
fix arn call
aloftus23 Oct 4, 2023
c8e6619
fix typo
aloftus23 Oct 4, 2023
f2404bf
fix typo
aloftus23 Oct 4, 2023
6df8f35
fix sqs arn definition
aloftus23 Oct 4, 2023
3f3316a
Create the queue in Serverless instead of terraform
aloftus23 Oct 4, 2023
a06a906
fix sqs policy for db accessor ec2
aloftus23 Oct 4, 2023
0c6913b
Fix reference to SQS queue
aloftus23 Oct 4, 2023
0a83a2e
Merge branch 'master' into AL-pe-SQS
aloftus23 Oct 4, 2023
651d46e
Add visibility timeout to SQS
aloftus23 Oct 4, 2023
6a52bcc
Merge branch 'master' into AL-pe-SQS
aloftus23 Oct 4, 2023
ede6b97
Add other properties
aloftus23 Oct 4, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions backend/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ resources:
Type: AWS::SQS::Queue
Properties:
QueueName: ${self:provider.stage}-worker-queue
VisibilityTimeout: 300 # Should match or exceed function timeout
MaximumMessageSize: 262144 # 256 KB
MessageRetentionPeriod: 604800 # 7 days

functions:
- ${file(./src/tasks/functions.yml)}
Expand Down
Loading