subcategory | layout | page_title | description |
---|---|---|---|
OpenSearch Serverless |
aws |
AWS: aws_opensearchserverless_collection |
Terraform data source for managing an AWS OpenSearch Serverless Collection. |
Terraform data source for managing an AWS OpenSearch Serverless Collection.
data "aws_opensearchserverless_collection" "example" {
name = "example"
}
The following arguments are required:
id
- (Required) ID of the collection. Eitherid
orname
must be provided.name
- (Required) Name of the collection. Eithername
orid
must be provided.
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.