https://github.com/01joseph-hwang10/terraform-null-find-up
Searches specified file (or files) in the current directory and all parent directories.
https://github.com/01joseph-hwang10/terraform-null-find-up
find-up terraform terraform-modules
Last synced: 3 months ago
JSON representation
Searches specified file (or files) in the current directory and all parent directories.
- Host: GitHub
- URL: https://github.com/01joseph-hwang10/terraform-null-find-up
- Owner: 01Joseph-Hwang10
- License: mit
- Created: 2025-01-10T07:05:53.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-01-10T07:31:43.000Z (5 months ago)
- Last Synced: 2025-03-02T06:45:11.705Z (3 months ago)
- Topics: find-up, terraform, terraform-modules
- Language: HCL
- Homepage: https://registry.terraform.io/modules/01Joseph-Hwang10/find-up/null/latest
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Find Up
Implementation of the famous [find-up](https://www.npmjs.com/package/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.
## Requirements
- Terraform
- Python 3.6 or later## Usage
Basic usage:
```hcl
module "workspace_root" {
source = "01Joseph-Hwang10/find-up/null"targets = ["requirements.txt"]
}
```Multiple targets:
```hcl
module "workspace_root" {
source = "01Joseph-Hwang10/find-up/null"targets = ["requirements.txt", "pyproject.toml"]
}
```