Yandex Cloud
Поиск
Связаться с экспертомПопробовать бесплатно
  • Кейсы
  • Документация
  • Блог
  • Все сервисы
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • VibeCraft
    • Yandex Cloud Detection and Response
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • GOST Gateway
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • SourceCraft
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • Статус работы сервисов
  • Marketplace
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Yandex Cloud Trust
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Кейсы
  • Документация
  • Блог
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Terraform в Yandex Cloud
  • Начало работы
  • Настройка аутентификации Terraform-провайдера Yandex Cloud
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • api_gateway
          • function
          • function_trigger
          • logging_group

В этой статье:

  • Example usage
  • Arguments & Attributes Reference
  1. Справочник Terraform
  2. Ресурсы (англ.)
  3. Cloud Logging
  4. Data Sources
  5. function

yandex_function (DataSource)

Статья создана
Yandex Cloud
Улучшена
ilya
Обновлена 23 сентября 2026 г.
Открыть в Markdown
  • Example usage
  • Arguments & Attributes Reference

Get information about a Yandex Cloud Function. For more information about Yandex Cloud Functions, see Yandex Cloud Functions.
This data source is used to define Yandex Cloud Function that can be used by other resources.

Важно

Either function_id or name must be specified.

Example usageExample usage

//
// Get information about existing Yandex Cloud Function
//
data "yandex_function" "my_function" {
  function_id = "d4e45**********pqvd3"
}

Arguments & Attributes ReferenceArguments & Attributes Reference

  • async_invocation (Read-Only) (List Of Object).
    • retries_count .
    • service_account_id .
    • ymq_failure_target .
      • arn .
      • service_account_id .
    • ymq_success_target .
      • arn .
      • service_account_id .
  • concurrency (Number). The maximum number of requests processed by a function instance at the same time.
  • created_at (Read-Only) (String). The creation timestamp of the resource.
  • description (Read-Only) (String). The resource description.
  • entrypoint (Read-Only) (String). Entrypoint for Yandex Cloud Function.
  • environment (Read-Only) (Map Of String). A set of key/value environment variables for Yandex Cloud Function. Each key must begin with a letter (A-Z, a-z).
  • execution_timeout (Read-Only) (String). Execution timeout in seconds for Yandex Cloud Function.
  • folder_id (String). The folder identifier that resource belongs to. If it is not provided, the default provider folder-id is used.
  • function_id (String). Yandex Cloud Function id used to define function.
  • id (String).
  • image_size (Read-Only) (Number). Image size for Yandex Cloud Function.
  • labels (Read-Only) (Map Of String). A set of key/value label pairs which assigned to resource.
  • log_options (Read-Only) (List Of Object).
    • disabled .
    • folder_id .
    • log_group_id .
    • min_level .
  • memory (Read-Only) (Number). Memory in megabytes (aligned to 128MB) for Yandex Cloud Function.
  • name (String). The resource name.
  • runtime (Read-Only) (String). Runtime for Yandex Cloud Function.
  • service_account_id (Read-Only) (String). Service account which linked to the resource.
  • tags (Read-Only) (Set Of String). Tags for Yandex Cloud Function. Tag $latest isn't returned.
  • tmpfs_size (Read-Only) (Number). Tmpfs size for Yandex Cloud Function.
  • version (Read-Only) (String). Version of Yandex Cloud Function.
  • connectivity [Block].
    • network_id (Required)(String).
  • metadata_options [Block].
    • aws_v1_http_endpoint (Number).
    • gce_http_endpoint (Number).
  • mounts [Block].
    • mode (String).
    • name (Required)(String).
    • ephemeral_disk [Block].
      • block_size_kb (Number).
      • size_gb (Required)(Number).
    • object_storage [Block].
      • bucket (Required)(String).
      • prefix (String).
  • secrets [Block].
    • environment_variable (Required)(String).
    • id (Required)(String).
    • key (Required)(String).
    • version_id (Required)(String).
  • storage_mounts [Block].
    • bucket (Required)(String).
    • mount_point_name (Required)(String).
    • prefix (String).
    • read_only (Bool).

Была ли статья полезна?

Предыдущая
api_gateway
Следующая
function_trigger
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ООО «Яндекс.Облако»