From d29f589eb4f23b29a178433d265c0d09c8030927 Mon Sep 17 00:00:00 2001 From: Iain Learmonth Date: Sat, 14 May 2022 12:09:38 +0100 Subject: [PATCH] eotk: remove out-of-band posthook run --- app/terraform/eotk/aws.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/terraform/eotk/aws.py b/app/terraform/eotk/aws.py index 4f79384..ca5cef3 100644 --- a/app/terraform/eotk/aws.py +++ b/app/terraform/eotk/aws.py @@ -103,8 +103,3 @@ class EotkAWSAutomation(TerraformAutomation): if x["address"].endswith(".module.instance.aws_instance.default[0]"): update_eotk_instance(group_id, region, x['values']['id']) db.session.commit() - - -with app.app_context(): - auto = EotkAWSAutomation() - auto.tf_posthook()