ip -> ipv4...
...explictly label current ip values as ipv4, in order to more easily add ipv6 support later on.
This commit is contained in:
@@ -64,7 +64,7 @@ resource "hcloud_server" "server" {
|
||||
}
|
||||
|
||||
resource "hcloud_server_network" "server" {
|
||||
ip = var.private_ip
|
||||
ip = var.private_ipv4
|
||||
server_id = hcloud_server.server.id
|
||||
subnet_id = var.subnet_id
|
||||
subnet_id = var.ipv4_subnet_id
|
||||
}
|
||||
|
@@ -54,12 +54,12 @@ variable "location" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "subnet_id" {
|
||||
variable "ipv4_subnet_id" {
|
||||
description = "The subnet id"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "private_ip" {
|
||||
variable "private_ipv4" {
|
||||
description = "Private IP for the server"
|
||||
type = string
|
||||
}
|
||||
|
Reference in New Issue
Block a user