frostmoln_images (Data Source)
List images with optional filters.
Example Usage
terraform
data "frostmoln_images" "ubuntu_all" {
os_distro = "ubuntu"
name_regex = "^ubuntu-2[24]"
}
output "available_ubuntu_images" {
value = data.frostmoln_images.ubuntu_all.images[*].name
}Schema
Optional
name_regex(String) Filter images by a regex pattern on the name.os_distro(String) Filter images by OS distribution.
Read-Only
images(Attributes List) The list of images matching the filters. (see below for nested schema)
Nested Schema for images
Read-Only:
id(String) The unique identifier of the image.min_disk_gb(Number) Minimum disk size in GB required by the image.min_ram_mb(Number) Minimum RAM in MB required by the image.name(String) The name of the image.os_distro(String) The OS distribution of the image.os_version(String) The OS version of the image.status(String) The status of the image.