add missing file

This commit is contained in:
2025-09-24 21:18:13 -03:00
parent 8695f0801b
commit a3e13a113c
3 changed files with 34 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
started_at: datetime = fromisoformat(new_image['started_at']) # type: ignore
completed_at: datetime = fromisoformat(new_image['completed_at']) # type: ignore
# The certificate may not expire
# Certificate may have no expiration
cert_expires_at = (
completed_at + timedelta(days=int(cert['exp_interval']))
if 'exp_interval' in cert