@@ -62,26 +62,26 @@ repos:
6262 - id : check-merge-conflict
6363 name : Check for Merge Conflicts
6464
65- # # Terraform ECS module tests
66- # - repo: local
67- # hooks:
68- # - id: terraform-tests
69- # name: Terraform ECS Module Tests
70- # description: Run Terraform ECS module unit tests
71- # entry: bash -c 'cd infra-ecs && ./run-tests.sh'
72- # language: system
73- # pass_filenames: false
74- # files: ^infra/(modules/|tests/).*\.(tf|tftest\.hcl)$
75- # stages: [pre-commit ]
65+ # Terraform ECS module tests
66+ - repo : local
67+ hooks :
68+ - id : terraform-ecs -tests
69+ name : Terraform ECS Module Tests
70+ description : Run Terraform ECS module unit tests
71+ entry : bash -c 'cd infra-ecs && ./run-tests.sh'
72+ language : system
73+ pass_filenames : false
74+ files : ^infra-ecs /(modules/|tests/).*\.(tf|tftest\.hcl)$
75+ stages : [pre-push ]
7676
77- # # Terraform EKS module tests
78- # - repo: local
79- # hooks:
80- # - id: terraform-tests
81- # name: Terraform EKS Module Tests
82- # description: Run Terraform EKS module unit tests
83- # entry: bash -c 'cd infra-eks && ./run-tests.sh'
84- # language: system
85- # pass_filenames: false
86- # files: ^infra/(modules/|tests/).*\.(tf|tftest\.hcl)$
87- # stages: [pre-commit ]
77+ # Terraform EKS module tests
78+ - repo : local
79+ hooks :
80+ - id : terraform-eks -tests
81+ name : Terraform EKS Module Tests
82+ description : Run Terraform EKS module unit tests
83+ entry : bash -c 'cd infra-eks && ./run-tests.sh'
84+ language : system
85+ pass_filenames : false
86+ files : ^infra-eks /(modules/|tests/).*\.(tf|tftest\.hcl)$
87+ stages : [pre-push ]
0 commit comments