This repository has been archived by the owner. It is now read-only.
Terraform provider for Hetzner Cloud
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Rewrite docs to website format (#36) May 3, 2018
hcloud Initial technical review (#43) May 7, 2018
scripts Add release target (#11) Jan 30, 2018
vendor Initial technical review (#43) May 7, 2018
website Initial technical review (#43) May 7, 2018
.travis.yml Acceptance tests (#10) Jan 30, 2018 Initial technical review (#43) May 7, 2018
GNUmakefile Hashi review 1 (#35) Mar 14, 2018
Gopkg.lock Initial technical review (#43) May 7, 2018
LICENSE Initial technical review (#43) May 7, 2018 Update Jun 11, 2018
main.go Init Jan 23, 2018


The new home of this provider is here:

Terraform Provider for the Hetzner Cloud

GitHub release Build Status


This provider plugin is maintained by:

  • The Hetzner Cloud Team


  • Terraform 0.11.x
  • Go 1.9 (to build the provider plugin)

Installing the provider

To install the Hetzner Cloud Terraform provider use the binary distributions from the Releases page. The packages are available for the same OS/ARCH combinations as Terraform itself:

  • Mac OS X 64-bit
  • FreeBSD 32-bit 64-bit Arm
  • Linux 32-bit 64-bit Arm
  • OpenBSD 32-bit 64-bit
  • Solaris 64-bit
  • Windows 32-bit 64-bit

Download and uncompress the latest release for your OS. This example uses the linux binary for amd64.

$ wget
$ unzip

Now copy the binary into the Terraform plugins folder.

$ mkdir -p ~/.terraform.d/plugins/
$ mv terraform-provider-hcloud ~/.terraform.d/plugins/

Building the provider

Clone repository to: $GOPATH/src/

$ mkdir -p $GOPATH/src/; cd $GOPATH/src/
$ git clone

Enter the provider directory and build the provider

$ cd $GOPATH/src/
$ make build

Using the provider

See the Hetzner Cloud Provider documentation to get started using the Hetzner Cloud provider.

Developing the provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.8+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

To compile the provider, run make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.

$ make build
$ ./bin/terraform-provider-hcloud

In order to test the provider, you can simply run make test.

$ make test