attach_volumes |
List volume id to attach with. |
list(string) |
[] |
no |
backups |
Enable or disable backups. |
bool |
false |
no |
datacenter |
The datacenter name to create the server in. nbg1-dc3, fsn1-dc14, hel1-dc2, ash-dc1 or hil-dc1. |
string |
null |
no |
firewall_ids |
Firewall IDs the server should be attached to on creation. |
list(string) |
[] |
no |
image |
Name or ID of the image the server is created from. |
string |
n/a |
yes |
iso |
ID or Name of an ISO image to mount. |
string |
null |
no |
keep_disk |
If true, do not upgrade the disk. This allows downgrading the server type later. |
bool |
true |
no |
labels |
User-defined labels (key-value pairs) should be created with. |
map(string) |
{} |
no |
location |
The location name to create the server in. nbg1, fsn1, hel1, ash or hil. |
string |
n/a |
yes |
name |
Name of the server to create (must be unique per project and a valid hostname as per RFC 1123). |
string |
n/a |
yes |
network_config |
Network the server should be attached to on creation. |
object({ network_id = string ip = string alias_ips = optional(list(string), []) }) |
n/a |
yes |
placement_group_id |
Placement Group ID the server added to on creation. |
string |
null |
no |
public_net |
In this block you can either enable / disable ipv4 and ipv6 or link existing primary IPs (checkout the examples). If this block is not defined, two primary (ipv4 & ipv6) ips getting auto generated. |
object({ ipv4_enabled = optional(bool, false) ipv4 = optional(string) ipv6_enabled = optional(bool, false) }) |
n/a |
yes |
rescue |
Enable and boot in to the specified rescue system. This enables simple installation of custom operating systems. linux64 or linux32 |
string |
null |
no |
server_type |
Name of the server type this server should be created with. |
string |
n/a |
yes |
ssh_keys |
SSH key IDs or names which should be injected into the server at creation time. |
list(string) |
[] |
no |
user_data |
Cloud-Init user data to use during server creation. |
string |
null |
no |