rso_volume (Resource)¶
A block volume of the tenant that keeps data across restarts of the app it is mounted in. A volume in use cannot be deleted.
Example Usage¶
resource "rso_volume" "data" {
name = "data"
size_gb = 10
}
Schema¶
Required¶
name(String) Volume name, unique within the tenant. Changing it creates a new volume.size_gb(Number) Size in GiB. Changing it creates a new, empty volume.
Read-Only¶
id(String) The ID of this resource.status(String) State of the volume as the platform reports it.
Import¶
Import is supported using the following syntax:
# Import a volume by its name.
terraform import rso_volume.data data