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

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

Open srikanth2302 opened this issue 2 years ago • 4 comments

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

  • [X] I agree to follow this project's Code of Conduct

srikanth2302 avatar Jul 24 '23 03:07 srikanth2302

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.

bendbennett avatar Jul 24 '23 16:07 bendbennett

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

achetronic avatar Jan 12 '24 14:01 achetronic

any updates?

fsdrw08 avatar Jan 31 '24 09:01 fsdrw08

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

jkroepke avatar Mar 11 '24 23:03 jkroepke