Skip to content
Commits on Source (2)
......@@ -16,9 +16,6 @@ locals {
"ssh",
"smtp",
"imap",
"auth",
"elasticsearch",
"kibana",
]
function_names = [for name in local.functions : "${local.function_name_prefix}-${replace(name, "_", "")}"]
}
......
"""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")
"""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")
"""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")