terraform-provider-archive icon indicating copy to clipboard operation
terraform-provider-archive copied to clipboard

Documentation missing excludes

Open danilohgds opened this issue 4 years ago • 3 comments

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!

danilohgds avatar Feb 28 '20 15:02 danilohgds

There's a PR already opened for that: https://github.com/terraform-providers/terraform-provider-archive/pull/61

manasouza avatar Feb 28 '20 18:02 manasouza

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).

Spaider avatar Apr 04 '20 13:04 Spaider

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.

raymondhardynike avatar Apr 06 '20 16:04 raymondhardynike