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

27 lines
459 B
Terraform
Raw Normal View History

2024-06-21 13:43:35 +00:00
provider "ssh" {
server = {
host = "california.ti"
port = 22
}
2024-06-21 16:02:42 +00:00
user = "techinc"
auth = {
2024-06-21 13:43:35 +00:00
private_key = {
content = file("~/.ssh/keys/exploding_bolts_2_rsa")
}
}
}
2024-06-21 16:02:42 +00:00
#data "ssh_tunnel" "docker" {
# connection_name = "docker_socket_tunnel_california"
# remote = {
# socket = "/var/run/docker.sock"
# }
#}
2024-06-21 13:43:35 +00:00
provider "docker" {
2024-06-21 16:02:42 +00:00
host = "ssh://california.ti"
2024-06-21 13:43:35 +00:00
}
2024-06-27 21:17:13 +00:00
provider "docker" {
alias = "printi"
host = "ssh://prin.ti"
}