-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Hello! I'd like datasource talos_image_factory_urls to be able to support returning multiple (or user configurable) disk image formats the same way that Image Factory does in the UI.
For example, when using the following options:
- Hardware Type: Bare-metal Machine
- Architecture: amd64
- SecureBoot: false
- Any extensions
- Any kernel arguments
When it generates a schematic ID and then returns the possible download URLs, I'm given a choice of the following Disk Image files:
- metal-amd64.raw.zst
- metal-amd64.qcow2
The Talos provider by default just returns the metal-amd64.raw.zst URL for data.talos_image_factory_urls.this.urls.disk_image when platform == metal from what I can tell. I'd like to be able to return a URL for qcow2 disk images as well. My personal use case for this is to be able to pass those URLs to the Proxmox provider's proxmox_virtual_environment_download_file resource to download a customized qcow2 image directly to storage. I'm sure there are other supported platforms that have multiple types of formats for a returned URL type as well that could benefit from something like this. Would this be possible to integrate?