Skip to content

Commit dad8cba

Browse files
committed
[PRMP-1048] changing cron for testing
1 parent 0517975 commit dad8cba

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

infrastructure/concurrency_controls.tf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Concurrency control schedules
22
# Office hour start
3+
# Original office hours schedule (9 AM daily)
4+
# schedule_expression = "cron(0 9 * * ? *)"
35
resource "aws_cloudwatch_event_rule" "bulk_upload_concurrency_office_hours_start" {
46
name = "bulk-upload-office-hours-start"
5-
schedule_expression = "cron(0 9 * * ? *)"
7+
schedule_expression = "cron(0/2 * * * ? *)"
68
}
79

810
resource "aws_cloudwatch_event_target" "bulk_upload_concurrency_office_hours_start" {
@@ -17,9 +19,11 @@ resource "aws_cloudwatch_event_target" "bulk_upload_concurrency_office_hours_sta
1719
}
1820

1921
# Office hours stop
22+
# Original office hours schedule (5 PM daily)
23+
# schedule_expression = "cron(0 17 * * ? *)"
2024
resource "aws_cloudwatch_event_rule" "bulk_upload_concurrency_office_hours_stop" {
2125
name = "bulk-upload-office-hours-stop"
22-
schedule_expression = "cron(0 17 * * ? *)"
26+
schedule_expression = "cron(1/2 * * * ? *)"
2327
}
2428

2529
resource "aws_cloudwatch_event_target" "bulk_upload_concurrency_office_hours_stop" {

0 commit comments

Comments
 (0)