Compute
Disk
Terraform reference for Disk.
Schema Properties
| Property | Type | Description |
|---|---|---|
controller_id | string | controller_id |
disk_id | integer | Disk position |
model | string | Disk model |
size | integer | Capacity of the disk |
data "gi_compute_disks" "filtered" { limit = 10 skip = 0 filter { field = "controller_id" operator = "eq" value = "example-value" } sort { field = "controller_id" descending = false }}# Access resultsoutput "disk_list" { value = data.gi_compute_disks.filtered.disks[*].attributes.controller_id}