Terraform provider reference / data sources / server_types
fiberax_server_types (Data Source)
Every server type available to this project.
Example Usage
# Every type available to the project.
data "fiberax_server_types" "all" {}
output "types" {
value = [for t in data.fiberax_server_types.all.server_types : "${t.id}: ${t.name}"]
}
Schema
Read-Only
server_types(Attributes List) Types in the order the platform returns them. (see below for nested schema)
Nested Schema for server_types
Read-Only:
-
description(String) Description of the type as it appears in the client area. -
gpu(Boolean) True when the type is sold with graphics cards. Two shapes exist, and the pricing mode alone does not tell them apart: afixedtype comes as a GPU package, while asliderstype withgputrue lets you pick the cards yourself. -
id(Number) ID of the server type. This same value goes intoserver_type_idwhen creating a server. -
name(String) Product name, for exampleCluster Server. -
pricing_mode(String) How a server of this type is sized: -
sliders- you choosecores,memory_mbanddisk_gb, all three; on a type with graphics cards you also pick the cards ingpusand, optionally, the storage class indisk_type; -
plans- you choose a ready-made plan byplan_id, and the slider fields are refused; -
fixed- a GPU package defines the whole machine: name it ingpu_package, and the size fields are refused.
Read the pricing of the type to see what it offers: plans, gpu_packages or gpu_models.
Generated from the provider schema for version 0.3.0. How to install the provider: Terraform provider.