run terraform fmt

This commit is contained in:
phaer 2022-01-25 14:04:12 +01:00
parent f6046c4f96
commit 9bb945a302
3 changed files with 24 additions and 18 deletions

View File

@ -27,9 +27,10 @@ resource "hcloud_server" "agents" {
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
}
}
@ -38,9 +39,10 @@ resource "hcloud_server" "agents" {
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
}
}

View File

@ -23,9 +23,10 @@ resource "hcloud_server" "first_control_plane" {
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
}
}
@ -34,9 +35,10 @@ resource "hcloud_server" "first_control_plane" {
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
}
}

View File

@ -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
}
}