From b8f6bf8ded4d2f78f38d489b0fa83a3ea8fea7cf Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 26 Jan 2024 20:47:36 +0200
Subject: [PATCH] Remove auth.shore.co.il.

It's blocked for outside access.
---
 functions.tf |  1 -
 src/auth.py  | 14 --------------
 2 files changed, 15 deletions(-)
 delete mode 100644 src/auth.py

diff --git a/functions.tf b/functions.tf
index 819e801..5c4e22a 100644
--- a/functions.tf
+++ b/functions.tf
@@ -16,7 +16,6 @@ locals {
     "ssh",
     "smtp",
     "imap",
-    "auth",
   ]
   function_names = [for name in local.functions : "${local.function_name_prefix}-${replace(name, "_", "")}"]
 }
diff --git a/src/auth.py b/src/auth.py
deleted file mode 100644
index 15287e4..0000000
--- a/src/auth.py
+++ /dev/null
@@ -1,14 +0,0 @@
-"""Check the auth.shore.co.il web service."""
-
-from utils import website_handler
-
-URLS = [
-    {"url": "http://auth.shore.co.il/", "codes": [301]},
-    {"url": "https://auth.shore.co.il/", "codes": [404]},
-]
-
-handler = website_handler(URLS)
-
-
-if __name__ == "__main__":
-    handler("event", "context")
-- 
GitLab