From cc21a49ac3f2489e12a5eb147106660aa2dd0af4 Mon Sep 17 00:00:00 2001 From: Angel Pastor Date: Tue, 24 Mar 2026 13:56:30 +0000 Subject: [PATCH] Increased frequency of polling for MESH and TTL to reduce waiting time during testing --- infrastructure/terraform/components/dl/README.md | 4 ++-- infrastructure/terraform/components/dl/variables.tf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/infrastructure/terraform/components/dl/README.md b/infrastructure/terraform/components/dl/README.md index 114d77e76..15879e7af 100644 --- a/infrastructure/terraform/components/dl/README.md +++ b/infrastructure/terraform/components/dl/README.md @@ -40,7 +40,7 @@ No requirements. | [kms\_deletion\_window](#input\_kms\_deletion\_window) | When a kms key is deleted, how long should it wait in the pending deletion state? | `string` | `"30"` | no | | [log\_level](#input\_log\_level) | The log level to be used in lambda functions within the component. Any log with a lower severity than the configured value will not be logged: https://docs.python.org/3/library/logging.html#levels | `string` | `"INFO"` | no | | [log\_retention\_in\_days](#input\_log\_retention\_in\_days) | The retention period in days for the Cloudwatch Logs events to be retained, default of 0 is indefinite | `number` | `0` | no | -| [mesh\_poll\_schedule](#input\_mesh\_poll\_schedule) | Schedule to poll MESH for messages | `string` | `"rate(5 minutes)"` | no | +| [mesh\_poll\_schedule](#input\_mesh\_poll\_schedule) | Schedule to poll MESH for messages | `string` | `"rate(2 minutes)"` | no | | [metadata\_refresh\_schedule](#input\_metadata\_refresh\_schedule) | Schedule for refreshing reporting metadata. | `string` | `"cron(10 6-22 * * ? *)"` | no | | [parent\_acct\_environment](#input\_parent\_acct\_environment) | Name of the environment responsible for the acct resources used, affects things like DNS zone. Useful for named dev environments | `string` | `"main"` | no | | [pii\_data\_retention\_non\_current\_days](#input\_pii\_data\_retention\_non\_current\_days) | The number of non current days for data retention policy for PII | `number` | `14` | no | @@ -55,7 +55,7 @@ No requirements. | [shared\_infra\_account\_id](#input\_shared\_infra\_account\_id) | The AWS Shared Infra Account ID (numeric) | `string` | n/a | yes | | [sns\_success\_logging\_sample\_percent](#input\_sns\_success\_logging\_sample\_percent) | Enable SNS Delivery Successful Sample Percentage | `number` | `0` | no | | [sqs\_max\_receive\_count](#input\_sqs\_max\_receive\_count) | Maximum number of times a message can be received before being sent to the DLQ | `string` | `"3"` | no | -| [ttl\_poll\_schedule](#input\_ttl\_poll\_schedule) | Schedule to poll for any overdue TTL records | `string` | `"rate(10 minutes)"` | no | +| [ttl\_poll\_schedule](#input\_ttl\_poll\_schedule) | Schedule to poll for any overdue TTL records | `string` | `"rate(2 minutes)"` | no | ## Modules | Name | Source | Version | diff --git a/infrastructure/terraform/components/dl/variables.tf b/infrastructure/terraform/components/dl/variables.tf index e7bd7424c..5f8b6564a 100644 --- a/infrastructure/terraform/components/dl/variables.tf +++ b/infrastructure/terraform/components/dl/variables.tf @@ -89,7 +89,7 @@ variable "parent_acct_environment" { variable "mesh_poll_schedule" { type = string description = "Schedule to poll MESH for messages" - default = "rate(5 minutes)" # Every 5 minutes + default = "rate(2 minutes)" # Every 2 minutes } variable "enable_mock_mesh" { @@ -119,7 +119,7 @@ variable "enable_dynamodb_delete_protection" { variable "ttl_poll_schedule" { type = string description = "Schedule to poll for any overdue TTL records" - default = "rate(10 minutes)" # Every 10 minutes + default = "rate(2 minutes)" # Every 2 minutes } variable "apim_base_url" {