Commit ec24d200 authored by nimrod's avatar nimrod
Browse files

Check autoconfig.shore.co.il.

parent f73035d2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ locals {
    "registry",
    "nextcloud",
    "notify",
    "autoconfig",
  ]
  function_names = [for name in local.functions : "${local.function_name_prefix}-${replace(name, "_", "")}"]
}

src/autoconfig.py

0 → 100644
+13 −0
Original line number Diff line number Diff line
from utils import check_urls


def handler(event, context):  # pylint: disable=unused-argument
    """Lambda event handler."""
    checks = [
        {"url": "https://autoconfig.shore.co.il/mail/config-v1.1.xml"},
    ]
    check_urls(checks)


if __name__ == "__main__":
    handler("event", "context")