Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cgroschupp/hetzner-nuke
Remove all the resources from an Hetzner account
https://github.com/cgroschupp/hetzner-nuke
hetzner libnuke
Last synced: 1 day ago
JSON representation
Remove all the resources from an Hetzner account
- Host: GitHub
- URL: https://github.com/cgroschupp/hetzner-nuke
- Owner: cgroschupp
- License: mit
- Created: 2024-12-11T13:25:33.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-02-18T13:06:19.000Z (3 days ago)
- Last Synced: 2025-02-18T13:37:21.158Z (3 days ago)
- Topics: hetzner, libnuke
- Language: Go
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hcloud - Hetzner Nuke - nuke and azure-nuke. (Tools / Rust)
README
# hetzner-nuke
[](https://github.com/cgroschupp/hetzner-nuke/blob/main/LICENSE)
[](https://github.com/cgroschupp/hetzner-nuke/releases)
[](https://goreportcard.com/report/github.com/cgroschupp/hetzner-nuke)

## Overview
Remove all resources from an Hetzner account.
## Example
### Example config
config.yaml:
```yaml
accounts:
000000: {}
```Replace "000000" with your project id. To get your project id run `hetzner-nuke project-info --hcloud-token `
### Build locally
```sh
go install .
# Make sure the go path is inside the PATH
# export PATH=$(go env GOPATH)/bin:$PATH
hetzner-nuke run --hcloud-token -c config.yaml
```### Run it with podman or docker
```sh
# Add hcloud token
export HCLOUD_TOKEN=
# docker run -ti -v $(pwd)/config.yaml:/config.yaml -e HCLOUD_TOKEN ghcr.io/cgroschupp/hetzner-nuke:v0.1.0 run
podman run -ti -v $(pwd)/config.yaml:/config.yaml -e HCLOUD_TOKEN ghcr.io/cgroschupp/hetzner-nuke:v0.1.0 run
```