You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
spawn footprint does not see EventBridge Scheduler schedules created by spawn schedule #1219
Found while fixing #1161. Checked in source; not run against AWS.
spawn footprint claims to inventory the control plane, but the only EventBridge resources it lists are rules on the default event bus (pkg/aws/footprint.go, ListRules). spawn schedule creates schedules in a different service, EventBridge Scheduler (pkg/scheduler/scheduler.go:73, scheduler.CreateScheduleInput), so none of them appear.
Name matching alone wouldn't find them either. They are named sched-YYYYMMDD-HHMMSS (GenerateScheduleID, pkg/scheduler/scheduler.go:67), in the default schedule group, which no entry in footprintNamePrefixes or footprintExactNames matches. A scan would have to identify them some other way: by their target (the scheduler-handler Lambda ARN), by their Spawn scheduled execution: description, or by the spawn-schedules DynamoDB table.
#1161 changed the help and footer to say that Scheduler schedules aren't scanned. This issue is about actually scanning them.
Severity: a schedule that outlives its intent keeps launching instances. Footprint is report-only, though, and spawn schedule list still lists schedules from the table, so this isn't a direct leak.
Activity
fix: list shows shutting-down, footprint sees Scheduler schedules, re…