Releases: babybabycloud/terraform-provider-unarchive
Releases · babybabycloud/terraform-provider-unarchive
v2.0.0
Use filter instead of include and exclude.
Now to pick specific entities in the archive files could be like below
data "unarchive_file" "data_name" {
# omit other configurations
filters = [
{
"includes": ["Objects"],
"excludes": ["\\.h$"]
},
{
"includes": ["Lib"],
"excludes": ["\\.py$"],
}
]
}
This makes it successful to use multiple conditions to filter entities. In this example, it filters the entities whose names contain "Objects“ and don't end with ".h". Also, those entities whose names contain "Lib" and don't end with ".py"
v1.0.0
The first version to publish Support zip, tar and tar.gz file