turbot/hcloud

steampipe plugin install hcloudsteampipe plugin install hcloud

Hetzner Cloud + Steampipe

Hetzner Cloud is a cloud hosting located in Germany.

Steampipe is an open source CLI to instantly query cloud APIs using SQL.

List servers in your Hetzner Cloud account:

select
id,
name,
created
from
hcloud_server
+----------+-------------------+---------------------+
| id | name | created |
+----------+-------------------+---------------------+
| 14462596 | ubuntu-2gb-hel1-1 | 2021-09-18 01:53:27 |
+----------+-------------------+---------------------+

Documentation

Get started

Install

Download and install the latest Hetzner Cloud plugin:

steampipe plugin install hcloud

Configuration

Installing the latest hcloud plugin will create a config file (~/.steampipe/config/hcloud.spc) with a single connection named hcloud:

connection "hcloud" {
plugin = "hcloud"
token = "RCgLZcAGBBGqkr8lTFXCfLhCjLMM6OJtzhg4ZsDRdMvmUwAeLssvLWyCCTdV8lkB"
}
  • token - API token from Hetzner Cloud.

Get involved