hashicorp / terraform-provider-archive

Utility provider that provides a data source that can create zip archives for individual files or collections of files.
https://registry.terraform.io/providers/hashicorp/archive/latest/docs
Mozilla Public License 2.0
91 stars 63 forks source link

Support Additional Compression Types(Ex: tar.gz format) #241

Closed srikanth2302 closed 3 months ago

srikanth2302 commented 1 year ago

Terraform CLI and Provider Versions

Terraform v1.3.6

archive = { source = "hashicorp/archive" version = "2.4.0" }

Use Cases or Problem Statement

It would be useful if we can support multiple Archive types such as tar.gz for linux.. Because.. we dont need to install unzip package in linux as tar is by default in it.

Proposal

Add Support for tar.gz type archive filr

How much impact is this issue causing?

Medium

Additional Information

No response

Code of Conduct

bendbennett commented 1 year ago

Hi @srikanth2302 👋

Thank you for raising this issue. We will leave the issue open and prioritise according to the amount of community interest that is expressed.

achetronic commented 9 months ago

Hello there, I would love to have this implemented for ISO files.

A usage case is being able to create disks that are loaded on VM's that does not use cloud-init. For example libvirt VMs using Talos, which can be configured loading an .iso image with a YAML inside

fsdrw08 commented 9 months ago

any updates?

jkroepke commented 7 months ago

In case, you are looking for tar.gz, take a look here and vote for it: https://github.com/hashicorp/terraform-provider-archive/pull/277