Nukes cloud accounts on a schedule
Based on aws-nuke. Nukes the lab account every sunday & wednesday at 23:00 PM.
Auth is using an IAM role and the Github Actions OIDC provider.
Based on azure-nuke. Nukes the lab account every sunday & wednesday at 23:00 PM.
Auth is using a simple service principal with Role assignments to the subscription and the Graph API (ReadWriteAll to User,Group,Application).
Since I couldn' find a nuker for Hetzner Cloud, the hcloud-nuker folder contains my own implementation using hcloud-go. If you look at the configuration file hcloud-nuke-config.yaml you will likely see how it works and how you can add a new project to the list.