Terraform-ProviderReferenzRessourcen
odinex_placement_group
Manages a placement group (servers of a spread group run on different hosts).
Diese Referenz wird aus dem Schema des Terraform-Providers erzeugt; die Beschreibungen der Argumente und Attribute sind auf Englisch.
Manages a placement group (servers of a spread group run on different hosts).
Beispiel
resource "odinex_placement_group" "spread" {
name = "spread"
location = "fra1"
}Schema
Erforderlich
location(String) Location of the placement group, e.g.fra1.name(String) Name of the placement group.
Optional
labels(Map of String) User-defined labels (key/value pairs). Up to 64 pairs; keys and values up to 63 characters.type(String) Type of the placement group. Onlyspreadis supported.
Nur lesbar
id(String) Unique ID of the resource.servers(Set of Number) IDs of the servers in the group.
Import
Import is supported using the following syntax:
The terraform import command can be used, for example:
terraform import odinex_placement_group.spread 2odinex_network
Manages a private network.
odinex_rdns
Manages the reverse DNS (PTR) entry of a server's public IP, a primary IP or a floating IP. Exactly one of server_id, primary_ip_id and floating_ip_id must be set. The import ID is s-<server_id>-<ip>, p-<primary_ip_id>-<ip> or f-<floating_ip_id>-<ip>.