From 6aa694aca7f39e86621629abc5ac3a891f5aaefa Mon Sep 17 00:00:00 2001
From: Nemo <commits@captnemo.in>
Date: Tue, 20 Feb 2024 23:46:15 +0530
Subject: [PATCH] postgres should come up without openvpn

---
 db/postgres.tf | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/db/postgres.tf b/db/postgres.tf
index 807ccc1..f482084 100644
--- a/db/postgres.tf
+++ a/db/postgres.tf
@@ -23,14 +23,6 @@
     ip       = var.ips["eth0"]
   }
 
-  // This is a not-so-great idea
-  // TODO: Figure out a better way to make terraform SSH and then connect to localhost
-  ports {
-    internal = 5432
-    external = 5432
-    ip       = var.ips["tun0"]
-  }
-
   memory                = 2048
   memory_swap           = 2048
   restart               = "unless-stopped"
--
rgit 0.1.5