Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.42 KB

opensearchserverless_collection.html.markdown

File metadata and controls

42 lines (31 loc) · 1.42 KB
subcategory layout page_title description
OpenSearch Serverless
aws
AWS: aws_opensearchserverless_collection
Terraform data source for managing an AWS OpenSearch Serverless Collection.

Data Source: aws_opensearchserverless_collection

Terraform data source for managing an AWS OpenSearch Serverless Collection.

Example Usage

Basic Usage

data "aws_opensearchserverless_collection" "example" {
  name = "example"
}

Argument Reference

The following arguments are required:

  • id - (Required) ID of the collection. Either id or name must be provided.
  • name - (Required) Name of the collection. Either name or id must be provided.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • arn - Amazon Resource Name (ARN) of the collection.
  • collection_endpoint - Collection-specific endpoint used to submit index, search, and data upload requests to an OpenSearch Serverless collection.
  • created_date - Date the Collection was created.
  • dashboard_endpont - Collection-specific endpoint used to access OpenSearch Dashboards.
  • description - (Optional) Description of the collection.
  • kms_key_arn - The ARN of the Amazon Web Services KMS key used to encrypt the collection.
  • last_modified_date - Date the Collection was last modified.
  • tags - A map of tags to assign to the collection.
  • type - Type of collection.