lots of typing fixes
This commit is contained in:
parent
51f580a304
commit
3665c34961
43 changed files with 260 additions and 178 deletions
|
@ -8,7 +8,9 @@ from app.models.onions import Eotk
|
|||
from app.terraform.terraform import TerraformAutomation
|
||||
|
||||
|
||||
def update_eotk_instance(group_id: int, region: str, instance_id: str):
|
||||
def update_eotk_instance(group_id: int,
|
||||
region: str,
|
||||
instance_id: str) -> None:
|
||||
instance = Eotk.query.filter(
|
||||
Eotk.group_id == group_id,
|
||||
Eotk.region == region,
|
||||
|
@ -74,7 +76,7 @@ class EotkAWSAutomation(TerraformAutomation):
|
|||
{% endfor %}
|
||||
"""
|
||||
|
||||
def tf_generate(self):
|
||||
def tf_generate(self) -> None:
|
||||
self.tf_write(
|
||||
self.template,
|
||||
groups=Group.query.filter(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue