11 lines
308 B
HCL
11 lines
308 B
HCL
provider "ssh" {
|
|
server = { host = "cluster.grey.ooo", port = 22 }
|
|
user = "geusebio"
|
|
auth = { private_key = { content = try(file("~/.ssh/keys/exploding_bolts_2_rsa"), "") } }
|
|
}
|
|
data "ssh_tunnel" "management" {
|
|
connection_name = "management"
|
|
remote = {
|
|
socket = "/var/run/docker.sock"
|
|
}
|
|
}
|