Configuration in this directory creates opensearch serverless collection with all supported features.
To run this example you need to execute:
$ terraform init
$ terraform plan
$ terraform apply
Note that this example may create resources which cost money. Run terraform destroy
when you don't need these resources.
Name | Version |
---|---|
terraform | >= 0.13.1 |
aws | >= 5.31 |
Name | Version |
---|---|
aws | >= 5.31 |
Name | Source | Version |
---|---|---|
opensearch_serverless | ../../ | n/a |
vpc | terraform-aws-modules/vpc/aws | n/a |
Name | Type |
---|---|
aws_caller_identity.current | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
name_prefix | Name prefix to use in resources | string |
"demo" |
no |
vpc_azs | Redshift AZs | list(string) |
[ |
no |
vpc_cidr | VPC CIDR block | string |
"10.0.0.0/16" |
no |
vpc_private_subnets | VPC Private Subnets | list(string) |
[ |
no |
vpc_public_subnets | VPC Public Subnets | list(string) |
[ |
no |
Name | Description |
---|---|
collection_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. |
collection_id | Unique identifier for the collection. |
dashboard_endpoint | Collection-specific endpoint used to access OpenSearch Dashboards. |
data_access_policy_version | Data Access policy version. |
data_lifecycle_policy_version | Data Lifecycle policy version. |
encrypt_policy_version | Encryption policy version. |
network_policy_version | Network policy version. |
security_config_version | Security Config version. |
security_group_id | Id of the security group. |
security_group_name | Name of the security group. |