Hetzner provisioner plugin for abra
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Comrade Renovate Bot f310c0acb2
Update koalaman/shellcheck-alpine Docker tag to v0.9.0
2 months ago
.drone.yml Update koalaman/shellcheck-alpine Docker tag to v0.9.0 2 months ago
README.md Use vendored JQ 2 years ago
abra-hetzner Fix check for errors 2 years ago
makefile Further advances into forming this up 2 years ago
renovate.json Add renovate.json 2 months ago

README.md

abra-hetzner

Build Status

Hetzner plugin for abra. See abra for more.

The script can be run on its own like so.

$ ./abra-hetzner my-new-vps cx11 debian-10 --ssh-keys foo@example.com

It assumes a $ABRA_DIR/vendor/jq binary installation of jq.

Hacking

You can read the Hetzner Cloud API docs (e.g. locations endpoint).

Then you can make requests and see what comes out. These values can then fed into this plugin as configurables.

$ export HETZNER_API_TOKEN=<hetzner-api-token>
$ curl -H "Authorization: Bearer $HETZNER_API_TOKEN" 'https://api.hetzner.cloud/v1/locations' | jq '.locations | .[] | .name'`
"fsn1"
"nbg1"
"hel1"