Terraform providerReferenceResources
odinex_placement_group
Manages a placement group (servers of a spread group run on different hosts).
Manages a placement group (servers of a spread group run on different hosts).
Example Usage
resource "odinex_placement_group" "spread" {
name = "spread"
location = "fra1"
}Schema
Required
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.
Read-Only
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>.