diff --git a/functions.tf b/functions.tf index 2ce0c5e6186b5fa53172a612c22f1d776c5150a6..819e80169cd821d25fe26ce339ed8806260cf7c5 100644 --- a/functions.tf +++ b/functions.tf @@ -17,8 +17,6 @@ locals { "smtp", "imap", "auth", - "elasticsearch", - "kibana", ] function_names = [for name in local.functions : "${local.function_name_prefix}-${replace(name, "_", "")}"] } diff --git a/src/elasticsearch.py b/src/elasticsearch.py deleted file mode 100644 index 8f39cd9498fda42c01007ea121c328f8a68b3304..0000000000000000000000000000000000000000 --- a/src/elasticsearch.py +++ /dev/null @@ -1,14 +0,0 @@ -"""Check the Elasticsearch service.""" - -from utils import website_handler - -URLS = [ - {"url": "http://elasticsearch.shore.co.il/", "codes": [301]}, - {"url": "https://elasticsearch.shore.co.il/", "codes": [403]}, -] - -handler = website_handler(URLS) - - -if __name__ == "__main__": - handler("event", "context") diff --git a/src/kibana.py b/src/kibana.py deleted file mode 100644 index e9695d9f6263cb0e08703c517feef401ed0c089a..0000000000000000000000000000000000000000 --- a/src/kibana.py +++ /dev/null @@ -1,14 +0,0 @@ -"""Check Kibana.""" - -from utils import website_handler - -URLS = [ - {"url": "http://kibana.shore.co.il/", "codes": [301]}, - {"url": "https://kibana.shore.co.il/", "codes": [302]}, -] - -handler = website_handler(URLS) - - -if __name__ == "__main__": - handler("event", "context")