yandex_serverless_eventrouter_connector (Resource)
Статья создана
Обновлена 7 августа 2025 г.
Allows management of a Yandex Cloud Serverless Event Router Connector.
Example Usage
//
// TBD
//
Schema
Required
bus_id(String) ID of the bus that the connector belongs toname(String) Name of the connector
Optional
deletion_protection(Boolean) Deletion protectiondescription(String) Description of the connectorlabels(Map of String) Connector labelstimeouts(Block, Optional) (see below for nested schema)timer(Block List) Timer source of the connector (see below for nested schema)yds(Block List) Data Stream source of the connector (see below for nested schema)ymq(Block List) Message Queue source of the connector (see below for nested schema)
Read-Only
cloud_id(String) ID of the cloud that the connector resides increated_at(String) Creation timestampfolder_id(String) ID of the folder that the connector resides inid(String) The ID of this resource.
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).
Nested Schema for timer
Required:
cron_expression(String) Cron expression. Cron expression with seconds. Example: 0 45 16 ? * *
Optional:
payload(String) Payload to be passed to bustimezone(String) Timezone in tz database format. Example: Europe/Moscow
Nested Schema for yds
Required:
consumer(String) Consumer namedatabase(String) Stream databaseservice_account_id(String) Service account which has read permission on the streamstream_name(String) Stream name, absolute or relative
Nested Schema for ymq
Required:
queue_arn(String) Queue ARN. Example: yrn:yc:ymq:ru-central1:aoe***:testservice_account_id(String) Service account which has read access to the queue
Optional:
batch_size(Number) Batch size for pollingpolling_timeout(String) Queue polling timeoutvisibility_timeout(String) Queue visibility timeout override
Import
The resource can be imported by using their resource ID. For getting the resource ID you can use Yandex Cloud Web Console
# terraform import yandex_serverless_eventrouter_connector.<resource Name> <resource Id>
terraform import yandex_serverless_eventrouter_connector.evr_con ...