Volume
platform_volume is a block storage volume. size_gb, type, iops, and
throughput update in place via modify. region forces replacement.
resource "platform_volume" "data" { name = "data-1" size_gb = 10}Growing size_gb does not replace the volume.
Arguments
Section titled “Arguments”| Name | Required | Notes |
|---|---|---|
name | yes | Display name |
size_gb | yes | Updated in place |
type | no | Computed if omitted. Updated in place |
iops | no | Computed if omitted. Updated in place |
throughput | no | Computed if omitted. Updated in place |
region | no | Computed if omitted (API default local). Forces replacement |
Attributes
Section titled “Attributes”| Name | Notes |
|---|---|
id | Platform id |
state | Current resource state from the API |
attached_to | Instance id when attached; empty otherwise |
This resource creates and deletes the volume. Attach and detach are API actions, not Terraform attributes you set here.
Import
Section titled “Import”terraform import platform_volume.data vol_…