frostmoln_volume_attachment (Resource)
Manages a volume attachment to a compute instance in the Frostmoln platform.
Authoritative scope — who owns what on this resource, declared in internal/scopedecl and machine-checked against the schema.
Create-immutable — device_path, instance_id, volume_id: the attachment is identified by its volume, instance and device path; changing one is a different attachment.
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.timeouts(Block, Optional) (see below for nested schema)
Read-Only
id(String) The composite identifier of the attachment ({volume_id}/{instance_id}).
Nested Schema for timeouts
Optional:
create(String) How long the provider waits for the create operation to converge before giving up (e.g. "45m", "2h").delete(String) How long the provider waits for the delete to complete before giving up (e.g. "30m").update(String) How long the provider waits for an update (resize, in-place change) to converge before giving up (e.g. "30m").