Skip to main content

upgrade_status

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

Overview

Nameupgrade_status
TypeResource
Idaws.opensearch.upgrade_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
step_statusstringThe status of the current step that an upgrade is on. (IN_PROGRESS, SUCCEEDED, SUCCEEDED_WITH_ISSUES, FAILED)
upgrade_namestringA string that describes the update.
upgrade_stepstringOne of three steps that an upgrade or upgrade eligibility check goes through. (PRE_UPGRADE_CHECK, SNAPSHOT, UPGRADE)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_upgrade_statusselectdomain_name, regionReturns the most recent status of the last upgrade or upgrade eligibility check performed on an Amazon OpenSearch Service domain.

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
domain_namestringThe domain of the domain to get upgrade status information for.
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the most recent status of the last upgrade or upgrade eligibility check performed on an Amazon OpenSearch Service domain.

SELECT
step_status,
upgrade_name,
upgrade_step
FROM aws.opensearch.upgrade_status
WHERE domain_name = '{{ domain_name }}' -- required
AND region = '{{ region }}' -- required
;