Skip to content

Commit 5e8ef0d

Browse files
authored
Feature/update gitc response queue timeout (#85)
* increase gibs_response_queue visibility timeout to match handl_gitc_response lambda function timeout * update changelog
1 parent a4f5888 commit 5e8ef0d

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
### Deprecated
1313
### Removed
1414
### Fixed
15+
- Update gibs_response_queue visibility timeout to match aws_lambda_function handle_gitc_response timeout
1516
### Security
1617

1718
## [0.2.4]

terraform/sqs_sns.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ resource "aws_sqs_queue" "gibs_response_queue" {
3434
deadLetterTargetArn = aws_sqs_queue.gibs_response_deadletter.arn
3535
maxReceiveCount = 4
3636
})
37+
visibility_timeout_seconds = 45
3738
}
3839

3940
resource "aws_sqs_queue" "gibs_response_deadletter" {
@@ -111,6 +112,7 @@ resource "aws_iam_role_policy" "allow_lambda_role_to_read_sqs_messages" {
111112
resource "aws_lambda_event_source_mapping" "gibs_response_event_trigger" {
112113
event_source_arn = aws_sqs_queue.gibs_response_queue.arn
113114
function_name = aws_lambda_function.handle_gitc_response.arn
115+
114116
}
115117

116118
data "aws_iam_policy_document" "gibs_request_queue_policy" {

0 commit comments

Comments
 (0)