yandex_cloud_desktops_image (Data Source)
Written by
Updated at November 25, 2025
A desktop image resource.
Example usage
data "yandex_cloud_desktops_image" "desktop_image_by_id" {
id = "fdvtmm38i0rp795kkkpa"
}
data "yandex_cloud_desktops_image" "desktop_image_by_folder_and_name" {
folder_id = "<your folder id (optional)>"
name = "Ubuntu 20.04 LTS (2024-12-03)"
}
Schema
Optional
folder_id(String) ID of the folder that the image belongs to.id(String) ID of the image to get.name(String) Name of the image.timeouts(Attributes) (see below for nested schema)
Read-Only
labels(Map of String) Description of the image.
Nested Schema for timeouts
Optional:
create(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).delete(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.read(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.update(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).