IAC/providers.ssh.tf

12 lines
308 B
Terraform
Raw Normal View History

2025-01-16 09:41:21 +00:00
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"
}
}