diff --git a/app/terraform/list/http_post.py b/app/terraform/list/http_post.py index 4b0d12f..778de13 100644 --- a/app/terraform/list/http_post.py +++ b/app/terraform/list/http_post.py @@ -1,3 +1,5 @@ +from typing import List + from app.terraform.list import ListAutomation @@ -6,7 +8,7 @@ class ListHttpPostAutomation(ListAutomation): description = "Update mirror lists by HTTP POST" provider = "http_post" - template_parameters = [] + template_parameters: List[str] = [] template = """ terraform { @@ -19,7 +21,7 @@ class ListHttpPostAutomation(ListAutomation): } {% for list in lists %} - + data "http" "post_{{ list.id }}" { url = "{{ list.container }}" method = "POST"