Terraform-ProviderReferenzRessourcen
odinex_floating_ip_assignment
Assigns a floating IP to a server. The ID is the floating IP ID. Do not set server_id on the odinex_floating_ip at the same time.
Diese Referenz wird aus dem Schema des Terraform-Providers erzeugt; die Beschreibungen der Argumente und Attribute sind auf Englisch.
Assigns a floating IP to a server. The ID is the floating IP ID. Do not set server_id on the odinex_floating_ip at the same time.
Beispiel
resource "odinex_floating_ip_assignment" "web" {
floating_ip_id = odinex_floating_ip.web.id
server_id = odinex_server.web.id
}Schema
Erforderlich
floating_ip_id(Number) ID of the floating IP.server_id(Number) ID of the server.
Nur lesbar
id(String) Unique ID of the resource.
Import
Import is supported using the following syntax:
The terraform import command can be used, for example:
# The ID is the floating IP ID.
terraform import odinex_floating_ip_assignment.web 8