github hetznercloud/terraform-provider-hcloud v1.67.0

5 hours ago

Removed datacenter from Server and Primary IP

The deprecated datacenter attribute was marked for removal from the Server and Primary IP resources/data sources. You must use the location attribute instead. Since the property was already removed from the Hetzner Cloud API, we do not consider this a breaking change (see changelog entry).

Important

Action required: Please update all configuration that uses the datacenter attribute to use the location attribute instead.

Before:

resource "hcloud_server" "main" {
  // ...
  datacenter = "hel1-dc1"
}

resource "hcloud_primary_ip" "main" {
  // ...
  datacenter = "hel1-dc1"
}

After:

resource "hcloud_server" "main" {
  // ...
  location = "hel1"
}

resource "hcloud_primary_ip" "main" {
  // ...
  location = "hel1"
}

Features

  • remove datacenter from primary ips and servers (#1501) (59a48f5)

Bug Fixes

  • server: do not validate unknown network config (#1493) (f180913)

Don't miss a new terraform-provider-hcloud release

NewReleases is sending notifications on new releases.