26 lines
459 B
HCL
26 lines
459 B
HCL
provider "ssh" {
|
|
server = {
|
|
host = "california.ti"
|
|
port = 22
|
|
}
|
|
user = "techinc"
|
|
auth = {
|
|
private_key = {
|
|
content = file("~/.ssh/keys/exploding_bolts_2_rsa")
|
|
}
|
|
}
|
|
}
|
|
#data "ssh_tunnel" "docker" {
|
|
# connection_name = "docker_socket_tunnel_california"
|
|
# remote = {
|
|
# socket = "/var/run/docker.sock"
|
|
# }
|
|
#}
|
|
provider "docker" {
|
|
host = "ssh://california.ti"
|
|
}
|
|
|
|
provider "docker" {
|
|
alias = "printi"
|
|
host = "ssh://prin.ti"
|
|
}
|