Skip to content

Self-hosted reaper removes itself when the account is idle (report mode) #1655

Open

Description

@scttfrdmn

Part of the Leave-no-trace epic spore-host/spore-host#752. Design: every spore.host tool removes what it created once nothing it manages is active, after a 24 h grace. The rollout is report mode first, then reap. The boundary spore-host/spawn-instance-boundary is the only permanent piece. Account trust boundary: nothing in a spore.host account may reach 942542972736, so cleanup there is in-account only.

Hand the last steps to one-shot Scheduler jobs (ActionAfterCompletion=DELETE): the function, then the log group (after the final flush), then the role. Never delete the Lambda from inside itself. The lazy CLI removes the residue. Report mode first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:spawnenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions