From ca53199027b178e1a2f7c907746d33bae89f39cd Mon Sep 17 00:00:00 2001
From: Nathan Rodet <nrodet@grandlyon.com>
Date: Fri, 23 Dec 2022 09:06:21 +0100
Subject: [PATCH] Removed security group inbound ports

---
 terraform/main.tf | 21 +--------------------
 1 file changed, 1 insertion(+), 20 deletions(-)

diff --git a/terraform/main.tf b/terraform/main.tf
index 861e30e..1d2eab3 100644
--- a/terraform/main.tf
+++ b/terraform/main.tf
@@ -39,30 +39,11 @@ resource "scaleway_instance_security_group" "www" {
   inbound_default_policy  = "drop"
   outbound_default_policy = "accept"
 
-  inbound_rule {
-    action = "accept"
-    port   = "22"
-  }
-
-  inbound_rule {
-    action = "accept"
-    port   = "80"
-  }
-
-  inbound_rule {
-    action = "accept"
-    port   = "8080"
-  }
-
-  inbound_rule {
-    action = "accept"
-    port   = "8081"
-  }
-
   inbound_rule {
     action = "accept"
     port   = "443"
   }
+
 }
 
 ##############################
-- 
GitLab