provider "ssh" { server = "california.ti" user = "techinc" auth = { private_key = { content = file("~/.ssh/keys/exploding_bolts_2_rsa") } } } data "ssh_tunnel" "docker" { remote = { socket = "/var/run/docker.sock" } } provider "docker" { host = "tcp://${data.ssh_tunnel.docker.local.address}" }