cronix-trigger-lambda

command
v0.0.0-...-5da8c22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2026 License: Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

cronix-trigger-lambda is the AWS Lambda companion to the AWS EventBridge Scheduler backend.

EventBridge invokes this Lambda once per fire with a SpecFile JSON payload as the event. The Lambda:

  1. Unmarshals the SpecFile.
  2. Resolves secret refs (env: / file: / raw: locally; ssm: and secretsmanager: against AWS APIs).
  3. Reuses the existing trigger.Run shim to sign the canonical request and POST to the application URL — exactly the same code path the on-host crontab/systemd/k8s shim uses, so wire format stays byte-identical across backends.

Build (Lambda provided.al2 runtime, arm64):

GOOS=linux GOARCH=arm64 CGO_ENABLED=0 \
  go build -tags lambda.norpc -ldflags="-s -w" -o bootstrap \
  ./cmd/cronix-trigger-lambda
zip cronix-trigger.zip bootstrap

Deploy: see deploy/aws/cronix-trigger-lambda/README.md.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL