terraform-provider-archive
terraform-provider-archive copied to clipboard
Documentation missing excludes
Hi guys,
This is a minor thing which I noticed, documentation is missing the excludes parameter: https://www.terraform.io/docs/providers/archive/d/archive_file.html however it has been supported by archive_file for quite some time.
Can you take a look and see if this is something we can update the docs?
Cheers!
There's a PR already opened for that: https://github.com/terraform-providers/terraform-provider-archive/pull/61
Documentation on excludes
is extremely simplified. There are no examples on regex'es. E.g. I did not find a way to exclude the same dir on any nested level (__pycache__
for Python deployments).
When i first implemented exclude functionality it supported regex but was asked to change it to just relative path. It does not support any globbing just matches on filename.