Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Setting up Yandex Cloud Terraform provider authentication
  • Solution library
    • Overview
    • Release notes
          • mdb_opensearch_cluster
          • mdb_opensearch_user

In this article:

  • Example usage
  • Arguments & Attributes Reference
  1. Terraform reference
  2. Resources
  3. Managed Service for OpenSearch
  4. Data Sources
  5. mdb_opensearch_user

yandex_mdb_opensearch_user (DataSource)

Written by
Yandex Cloud
Updated at September 11, 2026
View in Markdown
  • Example usage
  • Arguments & Attributes Reference

An OpenSearch user.

Example usageExample usage

//
// Get information about an existing Managed OpenSearch user.
//
data "yandex_mdb_opensearch_user" "read_only" {
  cluster_id = "some_cluster_id"
  name       = "read_only"
}

output "connection_id" {
  value = data.yandex_mdb_opensearch_user.read_only.connection_manager.connection_id
}

Arguments & Attributes ReferenceArguments & Attributes Reference

  • cluster_id (Required)(String). Required. ID of the OpenSearch cluster.
  • connection_manager [Block]. Connection Manager connection associated with the user. Read only field.
    • connection_id (Read-Only) (String). ID of the Connection Manager connection.
  • name (Required)(String). Required. Name of the user to return.
  • 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).

Was the article helpful?

Previous
mdb_opensearch_cluster
Next
mdb_opensearch_cluster
© 2026 Direct Cursus Technology L.L.C.