Terraform data source for managing an AWS OpenSearch Serverless VPC Endpoint.
data "aws_opensearchserverless_vpc_endpoint" "example" {
vpc_endpoint_id = "vpce-829a4487959e2a839"
}
The following arguments are required:
vpc_endpoint_id
- (Required) The unique identifier of the endpoint.This data source exports the following attributes in addition to the arguments above:
created_date
- The date the endpoint was created.name
- The name of the endpoint.security_group_ids
- The IDs of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.subnet_ids
- The IDs of the subnets from which you access OpenSearch Serverless.vpc_id
- The ID of the VPC from which you access OpenSearch Serverless.