» Data Source: hcloud_datacenter

Provides details about a specific Hetzner Cloud Datacenter. Use this resource to get detailed information about specific datacenter.

» Example Usage

data "hcloud_datacenter" "ds_1" {
  name = "fsn1-dc8"
}
data "hcloud_datacenter" "ds_2" {
  id = 4
}

» Argument Reference

  • id - (Optional, string) ID of the datacenter.
  • name - (Optional, string) Name of the datacenter.

» Attributes Reference