File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ This example is adapted from the pure HCL example in [What is Terraform / OpenTo
6161 image = "debian-13";
6262 name = "myserver.example.org";
6363 server_type = "cx23";
64- datacenter = "nbg1-dc3 ";
64+ location = "nbg1";
6565 ssh_keys = [ "\${hcloud_ssh_key.my_key.id}" ];
6666 public_net = {
6767 ipv4_enabled = true;
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ resource "hcloud_server" "myserver" {
7575 image = "debian-13"
7676 name = "myserver.example.org"
7777 server_type = "cx23"
78- datacenter = "nbg1-dc3 "
78+ location = "nbg1"
7979 ssh_keys = [ hcloud_ssh_key.my_key.id ]
8080 public_net {
8181 ipv4_enabled = true
@@ -109,7 +109,7 @@ One could store this to `myserver.tf.json`:
109109 "image" : " debian-12" ,
110110 "name" : " myserver.example.org" ,
111111 "server_type" : " cx22" ,
112- "datacenter " : " nbg1-dc3 " ,
112+ "location " : " nbg1" ,
113113 "ssh_keys" : [" ${hcloud_ssh_key.my_key.id}" ],
114114 "public_net" : {
115115 "ipv4_enabled" : true ,
You can’t perform that action at this time.
0 commit comments