A terraform provider to create to create a zip file from different kind of source, this sources can be:
It uses zipper under the hood.
You can access documentation at https://registry.terraform.io/providers/ArthurHlt/zipper
Requirements: You need, of course, terraform (>=0.12) which is available here: https://www.terraform.io/downloads.html
Follow instruction on https://registry.terraform.io/providers/ArthurHlt/zipper
- Get the build for your system in releases: https://github.com/ArthurHlt/terraform-provider-zipper/releases/latest
- Create a
providersdirectory inside terraform user folder:mkdir -p ~/.terraform.d/providers - Move the provider previously downloaded in this folder:
mv /path/to/download/directory/terraform-provider-zipper ~/.terraform.d/providers - Ensure provider is executable:
chmod +x ~/.terraform.d/providers/terraform-provider-zipper - add
providerspath to your.terraformrc:
cat <<EOF > ~/.terraformrc
providers {
zipper = "/full/path/to/.terraform.d/providers/terraform-provider-zipper"
}
EOF- you can now performs any terraform action on zipper resources
See documentation at https://registry.terraform.io/providers/ArthurHlt/zipper