Refactor secret manager module (#3315)

* wip

* wip

* wip

* wip

* tested, missing versions

* working

* fix secops stage

* readme

* tests

* tflint
This commit is contained in:
Ludovico Magnocavallo
2025-09-10 13:47:35 +02:00
committed by GitHub
parent c1e8f9d70c
commit 63a22cd9a2
25 changed files with 1222 additions and 513 deletions

View File

@@ -14,6 +14,8 @@
"""Pytest configuration for testing code examples."""
import collections
import os
from pathlib import Path
import marko
@@ -68,6 +70,9 @@ def pytest_generate_tests(metafunc, test_group='example',
continue
if directive and not filter_tests(directive.args):
continue
if os.environ.get(
'TERRAFORM') == 'tofu' and 'skip-tofu' in directive.args:
continue
if child.lang in ('hcl', 'tfvars'):
path = module.relative_to(FABRIC_ROOT)
name = f'{path}:{last_header}'