compatible_versions
Creates, updates, deletes, gets or lists a compatible_versions resource.
Overview
| Name | compatible_versions |
| Type | Resource |
| Id | aws.opensearch.compatible_versions |
Fields
The following fields are returned by SELECT queries:
- get_compatible_versions
| Name | Datatype | Description |
|---|---|---|
compatible_versions | array | A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_compatible_versions | select | region | domainName | Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
domainName | string | The name of an existing domain. Provide this parameter to limit the results to a single domain. |
SELECT examples
- get_compatible_versions
Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
SELECT
compatible_versions
FROM aws.opensearch.compatible_versions
WHERE region = '{{ region }}' -- required
AND domainName = '{{ domainName }}'
;