Skip to content

Commit

Permalink
fix(infra): re-run sshd config if dev tunnel machine recreated
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Jul 4, 2024
1 parent b293113 commit ade471b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/dev-tunnel/tunnel.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
resource "null_resource" "update_sshd_config" {
depends_on = [linode_instance.tunnel]
triggers = {
override = 2
linode_instance_id = linode_instance.tunnel.id
}

connection {
Expand All @@ -28,7 +28,7 @@ resource "null_resource" "update_sshd_config" {
}

resource "docker_container" "ssh_tunnel" {
depends_on = [ null_resource.update_sshd_config]
depends_on = [null_resource.update_sshd_config]

image = "debian:11"
name = "rivet-tunnel"
Expand Down

0 comments on commit ade471b

Please sign in to comment.