yandex_iot_core_device (Data Source)
Статья создана
Обновлена 11 сентября 2025 г.
Get information about a Yandex IoT Core device. For more information about IoT Core, see Yandex Cloud IoT Device.
This data source is used to define Yandex Cloud IoT Device that can be used by other resources.
Важно
Either device_id or name must be specified.
Example usage
//
// Get information about existing IoT Core Device.
//
data "yandex_iot_core_device" "my_device" {
device_id = "are1sampleregistry11"
}
Schema
Optional
device_id(String) IoT Core Device id used to define device.name(String) The resource name.
Read-Only
aliases(Map of String) A set of key/value aliases pairs to assign to the IoT Core Device.certificates(Set of String) A set of certificate's fingerprints for the IoT Core Device.created_at(String) The creation timestamp of the resource.description(String) The resource name.id(String) The ID of this resource.labels(Map of String) A set of key/value label pairs which assigned to resource.passwords(Set of String) A set of passwords's id for the IoT Core Device.registry_id(String) IoT Core Registry ID for the IoT Core Device.