Implementation of the famous find-up npm package in Python that is packaged as a terraform module.
It searches specified file (or files) in the current directory and all parent directories.
- Terraform
- Python 3.6 or later
Basic usage:
module "workspace_root" {
source = "01Joseph-Hwang10/find-up/null"
targets = ["requirements.txt"]
}Multiple targets:
module "workspace_root" {
source = "01Joseph-Hwang10/find-up/null"
targets = ["requirements.txt", "pyproject.toml"]
}