frostmoln_volume_attachment (Resource)
Manages a volume attachment to a compute instance in the Frostmoln platform.
Example Usage
terraform
resource "frostmoln_volume_attachment" "data" {
volume_id = frostmoln_volume.data.id
instance_id = frostmoln_instance.example.id
device_path = "/dev/vdb"
}Schema
Required
instance_id(String) The ID of the instance to attach the volume to.volume_id(String) The ID of the volume to attach.
Optional
device_path(String) The device path on the instance (e.g., /dev/vdb). Optional on create, computed from response.
Read-Only
id(String) The composite identifier of the attachment ({volume_id}/{instance_id}).