def METHOD_NAME(self, *args, **options):
    logger.info("Starting ES Configure")
    start = perf_counter()
    if not settings.ES_HOSTNAME:
        raise SystemExit("Fatal error: $ES_HOSTNAME is not set.")
    self.load_type = options["load_type"]
    if options["load_type"] in ("award", "awards"):
        self.index_pattern = f"*{settings.ES_AWARDS_NAME_SUFFIX}"
        self.max_result_window = settings.ES_AWARDS_MAX_RESULT_WINDOW
        self.template_name = "award_template"
    elif options["load_type"] in ("transaction", "transactions"):
        self.index_pattern = f"*{settings.ES_TRANSACTIONS_NAME_SUFFIX}"
        self.max_result_window = settings.ES_TRANSACTIONS_MAX_RESULT_WINDOW
        self.template_name = "transaction_template"
    elif options["load_type"] == "covid19-faba":
        self.index_pattern = f"*{settings.ES_COVID19_FABA_NAME_SUFFIX}"
        self.max_result_window = settings.ES_COVID19_FABA_MAX_RESULT_WINDOW
        self.template_name = "covid19_faba_template"
    else:
        raise RuntimeError(f"No config for {options['load_type']}")
    cluster = self.get_elasticsearch_settings()
    template = self.get_index_template()
    if not options["template_only"] and cluster:
        self.run_curl_cmd(payload=cluster, url=CURL_COMMANDS["cluster"], host=settings.ES_HOSTNAME)
    self.run_curl_cmd(
        payload=template, url=CURL_COMMANDS["template"], host=settings.ES_HOSTNAME, name=self.template_name
    )
    logger.info(f"ES Configure took {perf_counter() - start:.2f}s")