Terraform provider reference / data sources / server_type_pricing

fiberax_server_type_pricing (Data Source)

Prices and limits of one server type.

Rates are per hour; the monthly figure is the same rate over 720 hours, and it is there for comparison, not to work out your bill.

Example Usage

# Prices and limits of a server type.
#
# Rates are hourly; the monthly figure is the same rate over 720 hours, meant for
# comparison rather than for working out a bill.
data "fiberax_server_type_pricing" "cluster" {
  server_type_id = data.fiberax_server_type.cluster.id
}

output "hourly_rates" {
  value = { for k, v in data.fiberax_server_type_pricing.cluster.metered : k => v.hourly }
}

output "slider_limits" { value = data.fiberax_server_type_pricing.cluster.limits }

Schema

Required

Read-Only

Take key and pass it as model inside the server's gpus. (see below for nested schema)

Take key and pass it as the server's gpu_package; the package defines the card, the cores, the memory and the system disk, so the size fields are refused with it. (see below for nested schema)

Take the ID of the plan you want from here and pass it as the server's plan_id. (see below for nested schema)

Read the pricing of the type to see what it offers: plans, gpu_packages or gpu_models.

Nested Schema for gpu_models

Read-Only:

Nested Schema for gpu_packages

Read-Only:

Nested Schema for limits

Read-Only:

Nested Schema for metered

Read-Only:

Nested Schema for plans

Read-Only:

Generated from the provider schema for version 0.3.0. How to install the provider: Terraform provider.