Terraform provider reference / data sources / image
fiberax_image (Data Source)
One image of the chosen server type - by identifier or by name.
Set exactly one of id and name.
Example Usage
# An image by name, within a single server type: types carry different image sets.
data "fiberax_image" "ubuntu" {
server_type_id = data.fiberax_server_type.cluster.id
name = "Ubuntu 24.04"
}
resource "fiberax_server" "app" {
name = "app-01"
server_type_id = data.fiberax_server_type.cluster.id
image = data.fiberax_image.ubuntu.id
cores = 2
memory_mb = 4096
disk_gb = 40
}
Schema
Required
server_type_id(Number) The server type to look for the image in. The set of images DIFFERS from type to type, and so do the identifiers: the same image may be missing on another type.
Optional
id(String) Identifier of the image. Pass exactly this value asimagewhen creating a server. Give this instead of the name.name(String) Name of the image, for exampleUbuntu 24.04. Give this instead of the identifier; the comparison ignores case.
Read-Only
admin_user(String) Administrator account inside the guest, for examplerootorAdministrator.category(String) Grouping for application images; empty for your own images.licensed(Boolean) True when the image carries a paid licence billed per core. Creating a server from it requiresaccept_license = true.min_cores(Number) Below this the image is refused.min_disk_gb(Number)min_memory_gb(Number)recommended_cores(Number) What we suggest for this image. Null when there is no suggestion.recommended_disk_gb(Number)recommended_memory_gb(Number)type(String) Kind of image:os- an operating system,marketplace- a prepared application,router- a router image,iso- a platform image for the drive,usertemplateanduseriso- your own images.
Generated from the provider schema for version 0.3.0. How to install the provider: Terraform provider.