yandex_iot_core_registry (Resource)
Статья создана
Обновлена 11 сентября 2025 г.
Allows management of Yandex Cloud IoT Registry.
Example usage
//
// Create a new IoT Core Registry.
//
resource "yandex_iot_core_registry" "my_registry" {
name = "some_name"
description = "any description"
labels = {
my-label = "my-label-value"
}
log_options {
log_group_id = "log-group-id"
min_level = "ERROR"
}
passwords = [
"my-password1",
"my-password2"
]
certificates = [
"public part of certificate1",
"public part of certificate2"
]
}
Schema
Required
name(String) The resource name.
Optional
certificates(Set of String) A set of certificate's fingerprints for the IoT Core Registry.description(String) The resource description.folder_id(String) The folder identifier that resource belongs to. If it is not provided, the default providerfolder-idis used.labels(Map of String) A set of key/value label pairs which assigned to resource.log_options(Block List, Max: 1) Options for logging for IoT Core Registry. (see below for nested schema)passwords(Set of String, Sensitive) A set of passwords's id for the IoT Core Registry.timeouts(Block, Optional) (see below for nested schema)
Read-Only
created_at(String) The creation timestamp of the resource.id(String) The ID of this resource.
Nested Schema for log_options
Optional:
disabled(Boolean) Is logging for registry 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.
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.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).
Import
Важно
Import for this resource is not implemented yet.