Capsul provisioner plugin for abra
This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
decentral1se 9814efca5d
More docs
2021-04-07 19:39:15 +02:00
.drone.yml Init plugin script 2021-03-10 23:25:27 +01:00
README.md More docs 2021-04-07 19:39:15 +02:00
abra-hetzner Appease shellcheck 2021-04-07 19:37:35 +02:00
makefile Further advances into forming this up 2021-03-10 23:51:42 +01:00

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

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"