Skip to main content

Volume

Example Usage

 resource "e2e_block_storage" "block_storage1" {
name = "block_storage_name"
project_id = 21212 //Just an example
size = 250
location = "Delhi"
}

Schema

Required

  • name (String) The name of the block storage, also acts as its unique ID.
  • project_id (Number) ID of the associated project.
  • size (Number) Size of the block storage in GB. Choose from: 24000.

Optional

  • location (String) Location of the block storage. Defaults to your E2E MyAccount's default location.

Read-Only

  • id (String) The ID of this resource.
  • iops (Number) Input/Output Operations Per Second for the block storage, automatically set.
  • status (String) status (String): Current status of the block storage.
  • vm_id (String) ID of the VM to which the block storage is attached.
  • vm_name (String) Name of the VM to which the block storage is attached.