run terraform fmt
This commit is contained in:
14
servers.tf
14
servers.tf
@@ -26,9 +26,10 @@ resource "hcloud_server" "control_planes" {
|
||||
destination = "/tmp/config.yaml"
|
||||
|
||||
connection {
|
||||
user = "root"
|
||||
private_key = file(var.private_key)
|
||||
host = self.ipv4_address
|
||||
user = "root"
|
||||
private_key = var.private_key == null ? null : file(var.private_key)
|
||||
agent_identity = var.private_key == null ? file(var.public_key) : null
|
||||
host = self.ipv4_address
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,9 +38,10 @@ resource "hcloud_server" "control_planes" {
|
||||
inline = local.k3os_install_commands
|
||||
|
||||
connection {
|
||||
user = "root"
|
||||
private_key = file(var.private_key)
|
||||
host = self.ipv4_address
|
||||
user = "root"
|
||||
private_key = var.private_key == null ? null : file(var.private_key)
|
||||
agent_identity = var.private_key == null ? file(var.public_key) : null
|
||||
host = self.ipv4_address
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user