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
          • resourcemanager_cloud
          • resourcemanager_folder

In this article:

  • Example usage
  • Schema
  • Optional
  • Read-Only
  1. Terraform reference
  2. Resources
  3. Resource Manager
  4. Data Sources
  5. resourcemanager_folder

yandex_resourcemanager_folder (Data Source)

Written by
Yandex Cloud
Updated at September 11, 2025
  • Example usage
  • Schema
    • Optional
    • Read-Only

Use this data source to get information about a Yandex Resource Manager Folder. For more information, see the official documentation.

Warning

Either folder_id or name must be specified.

Example usageExample usage

//
// Get information about existing Folder.
//
data "yandex_resourcemanager_folder" "my_folder_1" {
  folder_id = "folder_id_number_1"
}

# Get folder by name in specific cloud
data "yandex_resourcemanager_folder" "my_folder_2" {
  name     = "folder_name"
  cloud_id = "some_cloud_id"
}

output "my_folder_1_name" {
  value = data.yandex_resourcemanager_folder.my_folder_1.name
}

output "my_folder_2_cloud_id" {
  value = data.yandex_resourcemanager_folder.my_folder_2.cloud_id
}

SchemaSchema

OptionalOptional

  • cloud_id (String) Cloud that the resource belongs to. If value is omitted, the default provider cloud is used.
  • folder_id (String) ID of the folder.
  • labels (Map of String) A set of key/value label pairs which assigned to resource.
  • name (String) The resource name.

Read-OnlyRead-Only

  • created_at (String) The creation timestamp of the resource.
  • description (String) The resource description.
  • id (String) The ID of this resource.
  • status (String) Current status of the folder.

Was the article helpful?

Previous
resourcemanager_cloud
Next
resourcemanager_cloud
© 2025 Direct Cursus Technology L.L.C.