This repository has been archived on 2024-11-12. You can view files and clone it, but cannot push or open issues or pull requests.
iac/docker.tf
Matthew Baggett 8b112b05ff
Some checks failed
Trunk Check / Trunk Check Runner (push) Failing after 1s
Merge
2024-06-28 00:10:09 +02:00

31 lines
526 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"
}
provider "docker" {
alias = "unifi"
host = "ssh://unifi.ti"
}