frostmoln_volume (Resource)
Manages a block storage volume in the Frostmoln platform.
Example Usage
terraform
resource "frostmoln_volume" "data" {
name = "app-data-volume"
description = "Persistent data volume for application"
size_gb = 100
volume_type = "ssd"
zone = "falkenberg"
tags = {
purpose = "data"
}
}Schema
Required
name(String) The name of the volume.size_gb(Number) The size of the volume in gigabytes. Can be increased after creation (resize).
Optional
description(String) A human-readable description of the volume.encrypted(Boolean) Whether the volume is encrypted. Volume encryption is not available yet — setting this to true is rejected at apply time.snapshot_id(String) The snapshot ID to create the volume from.tags(Map of String) Key-value tags for the volume.volume_type(String) The volume tier key (e.g. "ssd"). The set of selectable tiers is server-defined and may change without a provider release — read it from the frostmoln_volume_tiers data source (only tiers with status "offered" are accepted; a non-offered tier is rejected by the API). Defaults to the platform default tier when omitted.zone(String) The availability zone for the volume.
Read-Only
attached_to(String) The instance ID the volume is attached to, if any.created_at(String) The timestamp when the volume was created.device_path(String) The device path on the instance, if attached.id(String) The unique identifier of the volume.iops(Number) The provisioned IOPS of the volume.status(String) The current status of the volume.throughput(Number) The throughput of the volume in MB/s.