Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Solution library
    • Overview
    • Release notes
          • function
          • function_scaling_policy
          • function_trigger

In this article:

  • Example usage
  • Schema
  • Optional
  • Read-Only
  • Nested Schema for container
  • Nested Schema for container_registry
  • Nested Schema for data_streams
  • Nested Schema for dlq
  • Nested Schema for function
  • Nested Schema for iot
  • Nested Schema for log_group
  • Nested Schema for logging
  • Nested Schema for mail
  • Nested Schema for message_queue
  • Nested Schema for object_storage
  • Nested Schema for timer
  1. Terraform reference
  2. Resources
  3. Serverless Cloud Functions
  4. Data Sources
  5. function_trigger

yandex_function_trigger (Data Source)

Written by
Yandex Cloud
Updated at September 11, 2025
  • Example usage
  • Schema
    • Optional
    • Read-Only
    • Nested Schema for container
    • Nested Schema for container_registry
    • Nested Schema for data_streams
    • Nested Schema for dlq
    • Nested Schema for function
    • Nested Schema for iot
    • Nested Schema for log_group
    • Nested Schema for logging
    • Nested Schema for mail
    • Nested Schema for message_queue
    • Nested Schema for object_storage
    • Nested Schema for timer

Get information about a Yandex Cloud Function Trigger. For more information about Yandex Cloud Functions, see Yandex Cloud Functions.

This data source is used to define Yandex Cloud Functions Trigger that can be used by other resources.

Warning

Either trigger_id or name must be specified.

Example usageExample usage

//
// Get information about existing Cloud Function Trigger.
//
data "yandex_function_trigger" "my_trigger" {
  trigger_id = "a1scn**********3ur32"
}

SchemaSchema

OptionalOptional

  • folder_id (String) The folder identifier that resource belongs to. If it is not provided, the default provider folder-id is used.
  • name (String) The resource name.
  • trigger_id (String) Yandex Cloud Functions Trigger id used to define trigger.

Read-OnlyRead-Only

  • container (List of Object) (see below for nested schema)
  • container_registry (List of Object) (see below for nested schema)
  • created_at (String) The creation timestamp of the resource.
  • data_streams (List of Object) (see below for nested schema)
  • description (String) The resource description.
  • dlq (List of Object) (see below for nested schema)
  • function (List of Object) (see below for nested schema)
  • id (String) The ID of this resource.
  • iot (List of Object) (see below for nested schema)
  • labels (Map of String) A set of key/value label pairs which assigned to resource.
  • log_group (List of Object) (see below for nested schema)
  • logging (List of Object) (see below for nested schema)
  • mail (List of Object) (see below for nested schema)
  • message_queue (List of Object) (see below for nested schema)
  • object_storage (List of Object) (see below for nested schema)
  • timer (List of Object) (see below for nested schema)

Nested Schema for Nested Schema for container

Read-Only:

  • id (String) Yandex Cloud Serverless Container ID for Yandex Cloud Functions Trigger.

  • path (String) Path for Yandex Cloud Serverless Container for Yandex Cloud Functions Trigger.

  • retry_attempts (String) Retry attempts for Yandex Cloud Serverless Container for Yandex Cloud Functions Trigger.

  • retry_interval (String) Retry interval in seconds for Yandex Cloud Serverless Container for Yandex Cloud Functions Trigger.

  • service_account_id (String) Service account ID for Yandex Cloud Serverless Container for Yandex Cloud Functions Trigger.

Nested Schema for Nested Schema for container_registry

Read-Only:

  • batch_cutoff (String) Batch Duration in seconds for Yandex Cloud Functions Trigger.

  • batch_size (String) Batch Size for Yandex Cloud Functions Trigger.

  • create_image (Boolean) Boolean flag for setting create image event for Yandex Cloud Functions Trigger.

  • create_image_tag (Boolean) Boolean flag for setting create image tag event for Yandex Cloud Functions Trigger.

  • delete_image (Boolean) Boolean flag for setting delete image event for Yandex Cloud Functions Trigger.

  • delete_image_tag (Boolean) Boolean flag for setting delete image tag event for Yandex Cloud Functions Trigger.

  • image_name (String) Image name filter setting for Yandex Cloud Functions Trigger.

  • registry_id (String) Container Registry ID for Yandex Cloud Functions Trigger.

  • tag (String) Image tag filter setting for Yandex Cloud Functions Trigger.

Nested Schema for Nested Schema for data_streams

Read-Only:

  • batch_cutoff (String) Batch Duration in seconds for Yandex Cloud Functions Trigger.

  • batch_size (String) Batch Size for Yandex Cloud Functions Trigger.

  • database (String) Stream database for Yandex Cloud Functions Trigger.

  • service_account_id (Boolean) Service account ID to access data stream for Yandex Cloud Functions Trigger.

  • stream_name (String) Stream name for Yandex Cloud Functions Trigger.

  • suffix (String)

Nested Schema for Nested Schema for dlq

Read-Only:

  • queue_id (String) ID of Dead Letter Queue for Trigger (Queue ARN).

  • service_account_id (String) Service Account ID for Dead Letter Queue for Yandex Cloud Functions Trigger.

Nested Schema for Nested Schema for function

Read-Only:

  • id (String) Yandex Cloud Function ID.

  • retry_attempts (String) Retry attempts for Yandex Cloud Function for Yandex Cloud Functions Trigger.

  • retry_interval (String) Retry interval in seconds for Yandex Cloud Function for Yandex Cloud Functions Trigger.

  • service_account_id (String) Service account ID for Yandex Cloud Function.

  • tag (String) Tag for Yandex Cloud Function for Yandex Cloud Functions Trigger.

Nested Schema for Nested Schema for iot

Read-Only:

  • batch_cutoff (String) Batch Duration in seconds for Yandex Cloud Functions Trigger.

  • batch_size (String) Batch Size for Yandex Cloud Functions Trigger.

  • device_id (String) IoT Device ID for Yandex Cloud Functions Trigger.

  • registry_id (String) IoT Registry ID for Yandex Cloud Functions Trigger.

  • topic (String) IoT Topic for Yandex Cloud Functions Trigger.

Nested Schema for Nested Schema for log_group

Read-Only:

  • batch_cutoff (String)
  • batch_size (String)
  • log_group_ids (Set of String)

Nested Schema for Nested Schema for logging

Read-Only:

  • batch_cutoff (String) Batch Duration in seconds for Yandex Cloud Functions Trigger.

  • batch_size (String) Batch Size for Yandex Cloud Functions Trigger.

  • group_id (String) Logging group ID for Yandex Cloud Functions Trigger.

  • levels (Set of String) Logging level filter setting for Yandex Cloud Functions Trigger.

  • resource_ids (Set of String) Resource ID filter setting for Yandex Cloud Functions Trigger.

  • resource_types (Set of String) Resource type filter setting for Yandex Cloud Functions Trigger.

  • stream_names (Set of String) Logging stream name filter setting for Yandex Cloud Functions Trigger.

Nested Schema for Nested Schema for mail

Read-Only:

  • attachments_bucket_id (String) Object Storage Bucket ID for Yandex Cloud Functions Trigger.

  • batch_cutoff (String) Batch Duration in seconds for Yandex Cloud Functions Trigger.

  • batch_size (String) Batch Size for Yandex Cloud Functions Trigger.

  • service_account_id (String) Service account ID to access object storage for Yandex Cloud Functions Trigger.

Nested Schema for Nested Schema for message_queue

Read-Only:

  • batch_cutoff (String) Batch Duration in seconds for Yandex Cloud Functions Trigger.

  • batch_size (String) Batch Size for Yandex Cloud Functions Trigger.

  • queue_id (String) Message Queue ID for Yandex Cloud Functions Trigger.

  • service_account_id (String) Message Queue Service Account ID for Yandex Cloud Functions Trigger.

  • visibility_timeout (String) Visibility timeout for Yandex Cloud Functions Trigger.

Nested Schema for Nested Schema for object_storage

Read-Only:

  • batch_cutoff (String) Batch Duration in seconds for Yandex Cloud Functions Trigger.

  • batch_size (String) Batch Size for Yandex Cloud Functions Trigger.

  • bucket_id (String) Object Storage Bucket ID for Yandex Cloud Functions Trigger.

  • create (Boolean) Boolean flag for setting create event for Yandex Cloud Functions Trigger.

  • delete (Boolean) Boolean flag for setting delete event for Yandex Cloud Functions Trigger.

  • prefix (String) Prefix for Object Storage for Yandex Cloud Functions Trigger.

  • suffix (String) Suffix for Object Storage for Yandex Cloud Functions Trigger.

  • update (Boolean) Boolean flag for setting update event for Yandex Cloud Functions Trigger.

Nested Schema for Nested Schema for timer

Read-Only:

  • cron_expression (String) Cron expression for timer for Yandex Cloud Functions Trigger.

  • payload (String) Payload to be passed to function.

Was the article helpful?

Previous
function_scaling_policy
Next
function
© 2025 Direct Cursus Technology L.L.C.