terraform-provider-iterative
terraform-provider-iterative copied to clipboard
Data sync: allow more advanced `workdir` and `output` specs
It would be great for workdir/output to support:
- Lists of multiple paths
- Globs or regexes
Storage syntax can be easily extended to support rclone filters to include and exclude several paths or globs from data transfers:
- https://github.com/iterative/terraform-provider-iterative/issues/414#issuecomment-1064016678
+1 for a exclude option,
storage {
workdir = "."
exclude = [
".dvc/cache",
"venv"
]
output = "./reports"
}
Quick note: exclude should be a list[str] relative to workdir