Skip to main content

compatible_versions

Creates, updates, deletes, gets or lists a compatible_versions resource.

Overview

Namecompatible_versions
TypeResource
Idaws.opensearch.compatible_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
compatible_versionsarrayA map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_compatible_versionsselectregiondomainNameReturns 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
domainNamestringThe name of an existing domain. Provide this parameter to limit the results to a single domain.

SELECT examples

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 }}'
;