Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3379398
D11147.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11147.diff
View Options
diff --git a/services/terraform/modules/shared/search_index_lambda.tf b/services/terraform/modules/shared/search_index_lambda.tf
--- a/services/terraform/modules/shared/search_index_lambda.tf
+++ b/services/terraform/modules/shared/search_index_lambda.tf
@@ -43,15 +43,17 @@
}
resource "aws_lambda_event_source_mapping" "identity_users_trigger" {
- event_source_arn = aws_dynamodb_table.identity-users.stream_arn
- function_name = aws_lambda_function.search_index_lambda.arn
- starting_position = "LATEST"
+ event_source_arn = aws_dynamodb_table.identity-users.stream_arn
+ function_name = aws_lambda_function.search_index_lambda.arn
+ starting_position = "LATEST"
+ maximum_retry_attempts = 2
}
resource "aws_lambda_event_source_mapping" "identity_reserved_usernames_trigger" {
- event_source_arn = aws_dynamodb_table.identity-reserved-usernames.stream_arn
- function_name = aws_lambda_function.search_index_lambda.arn
- starting_position = "LATEST"
+ event_source_arn = aws_dynamodb_table.identity-reserved-usernames.stream_arn
+ function_name = aws_lambda_function.search_index_lambda.arn
+ starting_position = "LATEST"
+ maximum_retry_attempts = 2
}
resource "aws_security_group" "search_index_lambda" {
@@ -70,5 +72,4 @@
resource "aws_lambda_function_event_invoke_config" "search-index-lambda" {
function_name = aws_lambda_function.search_index_lambda.function_name
maximum_event_age_in_seconds = 60
- maximum_retry_attempts = 2
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 28, 3:42 PM (20 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2594359
Default Alt Text
D11147.diff (1 KB)
Attached To
Mode
D11147: [terraform] Move retry limits to aws_lambda_event_source_mapping
Attached
Detach File
Event Timeline
Log In to Comment