Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[openstack_images_image_v2] Support application/octet-stream #1693

Open
lgogolin opened this issue Mar 12, 2024 · 0 comments
Open

[openstack_images_image_v2] Support application/octet-stream #1693

lgogolin opened this issue Mar 12, 2024 · 0 comments

Comments

@lgogolin
Copy link

Terraform Version

Terraform v1.7.4
on darwin_arm64
+ provider registry.terraform.io/terraform-provider-openstack/openstack v1.53.0

Affected Resource(s)

Please list the resources as a list, for example:

  • openstack_images_image_v2

Terraform Configuration Files

resource "openstack_images_image_v2" "test" {
  name             = "test"
  image_source_url = "https://github.com/siderolabs/talos/releases/download/v1.6.6/openstack-amd64.raw.xz"
  decompress       = true
  container_format = "bare"
  disk_format      = "raw"
}

Expected Behavior

Support application/octet-stream while decompress = true

Since image is downloaded locally into image_cache_patch when decompress is set I believe file should be just downloaded and try to recognize format and decompress after download.

Actual Behavior

Error: Error opening file for Image: Error decompressing image, format application/octet-stream is not supported

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant