delete-scalesets

command
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

One-shot utility to delete a fixed list of GitHub Actions scale sets via the same library and auth path the ecs-arc controller uses. List-only by default; pass --apply to actually delete.

Edit the `targets` slice below to match the scale set names you want to delete, then run from the repo root:

go run ./scripts/delete-scalesets \
  --org <github-org> \
  --client-id <github-app-client-id> \
  --installation-id <github-app-installation-id> \
  --private-key-file /path/to/app-private-key.pem

List-only by default. Add --apply to delete. Add --skip-managed-check to delete scale sets that lack the ecs-arc.managed label.

Jump to

Keyboard shortcuts

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