yandex_cloud_desktops_image (DataSource)
Written by
Updated at April 9, 2026
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)"
}
Arguments & Attributes Reference
description(Read-Only) (String). Description of the image.folder_id(String). ID of the folder that the image belongs to.id(String). ID of the image to get.labels(Read-Only) (Map Of String). Labels of the image.name(String). Name of the image.timeouts[Block].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).