There was an error while loading. Please reload this page.
1 parent a4f5888 commit 62ece48Copy full SHA for 62ece48
1 file changed
terraform/sqs_sns.tf
@@ -34,6 +34,7 @@ resource "aws_sqs_queue" "gibs_response_queue" {
34
deadLetterTargetArn = aws_sqs_queue.gibs_response_deadletter.arn
35
maxReceiveCount = 4
36
})
37
+ visibility_timeout_seconds = 45
38
}
39
40
resource "aws_sqs_queue" "gibs_response_deadletter" {
@@ -111,6 +112,7 @@ resource "aws_iam_role_policy" "allow_lambda_role_to_read_sqs_messages" {
111
112
resource "aws_lambda_event_source_mapping" "gibs_response_event_trigger" {
113
event_source_arn = aws_sqs_queue.gibs_response_queue.arn
114
function_name = aws_lambda_function.handle_gitc_response.arn
115
+
116
117
118
data "aws_iam_policy_document" "gibs_request_queue_policy" {
0 commit comments