Yandex Cloud
КейсыДокументация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Terraform в Yandex Cloud
  • Начало работы
  • Настройка аутентификации Terraform-провайдера Yandex Cloud
  • Вопросы и ответы
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • cloudrouter_routing_instance

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

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

yandex_cloudrouter_routing_instance (DataSource)

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

Example usageExample usage

//
// Get information about a routing instance by ID.
//
data "yandex_cloudrouter_routing_instance" "example" {
  routing_instance_id = yandex_cloudrouter_routing_instance.example.id
}

output "routing_instance_status" {
  value = data.yandex_cloudrouter_routing_instance.example.status
}

Arguments & Attributes ReferenceArguments & Attributes Reference

  • cic_private_connection_info [Block]. List of the info about privateConnections which are attached to routingInstance.

    • cic_private_connection_id (Read-Only) (String). ID of the cicPrivateConnection that is attached to the routingInstance.
  • created_at (Read-Only) (String). Creation timestamp in RFC3339 text format.

  • deletion_protection (Read-Only) (Bool). package: yandex.cloud.cloudrouter.v1
    filename: yandex/cloud/cloudrouter/v1/routing_instance.proto

  • description (Read-Only) (String). Description of the routingInstance. 0-256 characters long.

  • folder_id (String). ID of the folder that the routingInstance belongs to.

  • id (String). ID of the RoutingInstance resource to return.
    To get the routingInstance ID use a [RoutingInstanceService.List] request.

  • labels (Read-Only) (Map Of String). Resource labels, key:value pairs.
    No more than 64 per resource.
    The maximum string length in characters for each value is 63.
    Each value must match the regular expression [-_0-9a-z]*.
    The string length in characters for each key must be 1-63.
    Each key must match the regular expression [a-z][-_0-9a-z]*.

  • name (Read-Only) (String). Name of the routingInstance.
    The name must be unique within the folder.
    Value must match the regular expression \|[a-zA-Z]([-_a-zA-Z0-9]{0,61}[a-zA-Z0-9])?.

  • region_id (Read-Only) (String). ID of the region that the routingInstance belongs to.

  • routing_instance_id (String). ID of the RoutingInstance resource to return.
    To get the routingInstance ID use a [RoutingInstanceService.List] request.

  • status (Read-Only) (String). Status of the routingInstance.

  • timeouts [Block].

    • 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).
  • vpc_info [Block]. List of the info about vpcNetworks which are attached to routingInstance.

    • az_infos [Block]. List of the az-related info about vpcNetworks which are attached to routingInstance
      • manual_info [Block]. VpcInfo which is set by user
        • az_id (Read-Only) (String). ID of the AZ
        • prefixes (Read-Only) (Set Of String). List of prefixes to announce
    • vpc_network_id (Read-Only) (String). ID of the vpcNetwork that is attached to the routingInstance.

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

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