yandex_iot_core_broker (Data Source)
Статья создана
Обновлена 11 сентября 2025 г.
Get information about a Yandex IoT Core Broker. For more information IoT Core, see Yandex Cloud IoT Broker.
This data source is used to define Yandex Cloud IoT Broker that can be used by other resources.
Важно
Either broker_id or name must be specified.
Example usage
//
// Get information about existing IoT Core Broker.
//
data "yandex_iot_core_broker" "my_broker" {
broker_id = "are1samplebroker11"
}
Schema
Optional
broker_id(String) IoT Core Broker id used to define broker.folder_id(String) The folder identifier that resource belongs to. If it is not provided, the default providerfolder-idis used.name(String) The resource name.
Read-Only
certificates(Set of String) A set of certificate's fingerprints for the IoT Core Broker.created_at(String) The creation timestamp of the resource.description(String) The resource description.id(String) The ID of this resource.labels(Map of String) A set of key/value label pairs which assigned to resource.log_options(List of Object) (see below for nested schema)
Nested Schema for log_options
Read-Only:
-
disabled(Boolean) Is logging for broker disabled. -
folder_id(String) Log entries are written to default log group for specified folder. -
log_group_id(String) Log entries are written to specified log group. -
min_level(String) Minimum log entry level.