Skip to content

Commit f000569

Browse files
authored
allow catchup health data on adding new payers (#169)
1 parent 0e1b331 commit f000569

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data-collection/deploy/module-health-events.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ Resources:
337337
338338
count = 0
339339
if is_summary_mode:
340-
start_from, start_to = calculate_dates(BUCKET_NAME, PREFIX)
340+
start_from, start_to = calculate_dates(BUCKET_NAME, f"{PREFIX}/{PREFIX}-summary-data/payer_id={account_id}")
341341
logger.info(f"Collecting events from {start_from} to {start_to}")
342342
args = {
343343
'maxResults':100,
@@ -573,4 +573,4 @@ Resources:
573573
Type: Custom::LambdaAnalyticsExecutor
574574
Properties:
575575
ServiceToken: !Ref LambdaAnalyticsARN
576-
Name: !Ref CFDataName
576+
Name: !Ref CFDataName

0 commit comments

Comments
 (0)