Skip to content

Releases: babybabycloud/terraform-provider-unarchive

v2.0.0

13 Jul 08:02
2c57057
Compare
Choose a tag to compare

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

26 May 17:16
73ebd55
Compare
Choose a tag to compare
The first version to publish
Support zip, tar and tar.gz file