run terraform fmt
This commit is contained in:
14
agents.tf
14
agents.tf
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
14
master.tf
14
master.tf
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
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