import os from iam.lib.utils import get_pkg_dir, open_yaml, to_yaml all = None yml_dir = get_pkg_dir(__name__) conf_files = open_yaml(os.path.join(yml_dir, "devops.yml")) for conf in conf_files: all = conf.get("providers", {}) break