cloupard_kvm_lib_object
Defines a KVM library object resource.
This resource uploads a local file (for example, ISO or QCOW2 image) to the KVM library in the selected region.
Example Use
resource "cloupard_kvm_lib_object" "boot" {
region = "uz_tas2"
source = "boot.iso"
}
|
Attributes:
-
region (Required): Region where the object will be stored (for example, uz_tas2).
-
source (Required): Path to the local file that will be uploaded to the KVM library. Supported formats: .iso, .qcow2.
-
id (Computed): Unique identifier of the uploaded object.
-
name (Computed): File name as stored in the library.
-
size (Computed): Size of the uploaded file in bytes.
-
url (Computed): Public or internal URL to access the stored object (if available).