Data source

dcloud_server_types

Instance server types, with price and current stock in the region.

Example Usage

data "dcloud_server_types" "de1" {
  region_id = "de1"
}

output "in_stock" {
  value = [for t in data.dcloud_server_types.de1.items : t.id if t.in_stock]
}

Schema

Optional

  • region_id (String) Region whose stock to report (default: the caller's).

Read-Only

Nested Schema for items

Read-Only:

  • architecture (String) x86_64 or arm64.
  • cores (Number) vCPUs.
  • cpu_type (String) shared or dedicated.
  • description (String) Display name.
  • disk_gib (Number) Local disk, GiB.
  • id (String) Server type, e.g. cax11; server_type of dcloud_instance.
  • in_stock (Boolean) Whether the provider has capacity for it now.
  • memory_gib (Number) Memory, GiB.
  • price_euro_cents_hourly (Number) Price per hour, euro cents.
  • price_euro_cents_monthly (Number) Price per month, euro cents.

Generated from the provider's schema.