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.
Click to show internal directories.
Click to hide internal directories.