From 40db927caefdd0595fc29dea2bff6f83596eff89 Mon Sep 17 00:00:00 2001 From: Sergey Scheglov Date: Thu, 18 Apr 2024 17:50:52 +0500 Subject: [PATCH] Upgrade provider to v2.2.1, update crossplane-runtime --- Makefile | 2 +- .../v1alpha1/zz_detection_terraformed.go | 4 -- apis/anomaly/v1alpha1/zz_detection_types.go | 6 +- .../v1alpha1/zz_generated.conversion_hubs.go | 4 -- apis/anomaly/v1alpha1/zz_groupversion_info.go | 4 -- apis/audit/v1alpha1/zz_config_terraformed.go | 4 -- apis/audit/v1alpha1/zz_config_types.go | 6 +- .../v1alpha1/zz_generated.conversion_hubs.go | 4 -- apis/audit/v1alpha1/zz_groupversion_info.go | 4 -- .../v1alpha1/zz_configuration_terraformed.go | 4 -- .../v1alpha1/zz_configuration_types.go | 12 ++-- .../v1alpha1/zz_generated.conversion_hubs.go | 4 -- apis/channel/v1alpha1/zz_groupversion_info.go | 4 -- .../v1alpha1/zz_generated.conversion_hubs.go | 4 -- apis/cluster/v1alpha1/zz_groupversion_info.go | 4 -- .../v1alpha1/zz_settings_terraformed.go | 4 -- apis/cluster/v1alpha1/zz_settings_types.go | 6 +- .../v1alpha1/zz_generated.conversion_hubs.go | 4 -- .../v1alpha1/zz_groupversion_info.go | 4 -- .../v1alpha1/zz_template_terraformed.go | 4 -- apis/component/v1alpha1/zz_template_types.go | 6 +- .../v1alpha1/zz_generated.conversion_hubs.go | 4 -- .../v1alpha1/zz_groupversion_info.go | 4 -- .../v1alpha1/zz_indextemplate_terraformed.go | 4 -- .../v1alpha1/zz_indextemplate_types.go | 6 +- .../v1alpha1/zz_generated.conversion_hubs.go | 4 -- .../v1alpha1/zz_groupversion_info.go | 4 -- .../v1alpha1/zz_object_terraformed.go | 4 -- apis/dashboard/v1alpha1/zz_object_types.go | 6 +- .../v1alpha1/zz_tenant_terraformed.go | 4 -- apis/dashboard/v1alpha1/zz_tenant_types.go | 6 +- .../v1alpha1/zz_generated.conversion_hubs.go | 4 -- apis/data/v1alpha1/zz_groupversion_info.go | 4 -- apis/data/v1alpha1/zz_stream_terraformed.go | 4 -- apis/data/v1alpha1/zz_stream_types.go | 6 +- .../v1alpha1/zz_generated.conversion_hubs.go | 4 -- apis/index/v1alpha1/zz_groupversion_info.go | 4 -- .../index/v1alpha1/zz_template_terraformed.go | 4 -- apis/index/v1alpha1/zz_template_types.go | 6 +- .../v1alpha1/zz_generated.conversion_hubs.go | 4 -- apis/ingest/v1alpha1/zz_groupversion_info.go | 4 -- .../v1alpha1/zz_pipeline_terraformed.go | 4 -- apis/ingest/v1alpha1/zz_pipeline_types.go | 6 +- .../v1alpha1/zz_generated.conversion_hubs.go | 4 -- apis/ism/v1alpha1/zz_groupversion_info.go | 4 -- apis/ism/v1alpha1/zz_policy_terraformed.go | 4 -- apis/ism/v1alpha1/zz_policy_types.go | 6 +- .../v1alpha1/zz_policymapping_terraformed.go | 4 -- apis/ism/v1alpha1/zz_policymapping_types.go | 8 +-- .../v1alpha1/zz_generated.conversion_hubs.go | 4 -- .../v1alpha1/zz_groupversion_info.go | 4 -- .../v1alpha1/zz_index_terraformed.go | 4 -- apis/opensearch/v1alpha1/zz_index_types.go | 12 ++-- .../v1alpha1/zz_monitor_terraformed.go | 4 -- apis/opensearch/v1alpha1/zz_monitor_types.go | 6 +- .../v1alpha1/zz_role_terraformed.go | 4 -- apis/opensearch/v1alpha1/zz_role_types.go | 6 +- .../v1alpha1/zz_script_terraformed.go | 4 -- apis/opensearch/v1alpha1/zz_script_types.go | 6 +- .../v1alpha1/zz_user_terraformed.go | 4 -- apis/opensearch/v1alpha1/zz_user_types.go | 6 +- .../v1alpha1/zz_generated.conversion_hubs.go | 4 -- apis/roles/v1alpha1/zz_groupversion_info.go | 4 -- apis/roles/v1alpha1/zz_mapping_terraformed.go | 4 -- apis/roles/v1alpha1/zz_mapping_types.go | 6 +- .../v1alpha1/zz_generated.conversion_hubs.go | 4 -- apis/sm/v1alpha1/zz_groupversion_info.go | 4 -- apis/sm/v1alpha1/zz_policy_terraformed.go | 4 -- apis/sm/v1alpha1/zz_policy_types.go | 6 +- .../v1alpha1/zz_generated.conversion_hubs.go | 4 -- .../snapshot/v1alpha1/zz_groupversion_info.go | 4 -- .../v1alpha1/zz_repository_terraformed.go | 4 -- apis/snapshot/v1alpha1/zz_repository_types.go | 6 +- apis/zz_register.go | 4 -- config/provider-metadata.yaml | 55 +++++++++++-------- config/schema.json | 2 +- .../channel/v1alpha1/configuration.yaml | 23 ++++++++ .../component/v1alpha1/template.yaml | 2 +- .../composable/v1alpha1/indextemplate.yaml | 2 +- .../index/v1alpha1/template.yaml | 33 ++++++----- .../opensearch/v1alpha1/index.yaml | 19 +++---- .../opensearch/v1alpha1/monitor.yaml | 2 +- go.mod | 4 +- go.sum | 8 +-- .../anomaly/detection/zz_controller.go | 4 -- .../controller/audit/config/zz_controller.go | 4 -- .../channel/configuration/zz_controller.go | 4 -- .../cluster/settings/zz_controller.go | 4 -- .../component/template/zz_controller.go | 4 -- .../composable/indextemplate/zz_controller.go | 4 -- .../dashboard/object/zz_controller.go | 4 -- .../dashboard/tenant/zz_controller.go | 4 -- .../controller/data/stream/zz_controller.go | 4 -- .../index/template/zz_controller.go | 4 -- .../ingest/pipeline/zz_controller.go | 4 -- .../controller/ism/policy/zz_controller.go | 4 -- .../ism/policymapping/zz_controller.go | 4 -- .../opensearch/index/zz_controller.go | 4 -- .../opensearch/monitor/zz_controller.go | 4 -- .../opensearch/role/zz_controller.go | 4 -- .../opensearch/script/zz_controller.go | 4 -- .../opensearch/user/zz_controller.go | 4 -- .../controller/roles/mapping/zz_controller.go | 4 -- .../controller/sm/policy/zz_controller.go | 4 -- .../snapshot/repository/zz_controller.go | 4 -- internal/controller/zz_setup.go | 4 -- ...maly.opensearch.upbound.io_detections.yaml | 6 +- .../audit.opensearch.upbound.io_configs.yaml | 6 +- ....opensearch.upbound.io_configurations.yaml | 23 +++++--- ...luster.opensearch.upbound.io_settings.yaml | 6 +- ...onent.opensearch.upbound.io_templates.yaml | 6 +- ....opensearch.upbound.io_indextemplates.yaml | 6 +- ...shboard.opensearch.upbound.io_objects.yaml | 6 +- ...shboard.opensearch.upbound.io_tenants.yaml | 6 +- .../data.opensearch.upbound.io_streams.yaml | 6 +- ...index.opensearch.upbound.io_templates.yaml | 6 +- ...ngest.opensearch.upbound.io_pipelines.yaml | 6 +- .../ism.opensearch.upbound.io_policies.yaml | 6 +- ....opensearch.upbound.io_policymappings.yaml | 10 ++-- ...nsearch.opensearch.upbound.io_indices.yaml | 12 ++-- ...search.opensearch.upbound.io_monitors.yaml | 6 +- ...pensearch.opensearch.upbound.io_roles.yaml | 6 +- ...nsearch.opensearch.upbound.io_scripts.yaml | 6 +- ...pensearch.opensearch.upbound.io_users.yaml | 6 +- .../roles.opensearch.upbound.io_mappings.yaml | 6 +- .../sm.opensearch.upbound.io_policies.yaml | 6 +- ...ot.opensearch.upbound.io_repositories.yaml | 6 +- package/crossplane.yaml | 2 +- 128 files changed, 204 insertions(+), 539 deletions(-) create mode 100644 examples-generated/channel/v1alpha1/configuration.yaml diff --git a/Makefile b/Makefile index dc87dbc..624dce7 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ export TERRAFORM_VERSION ?= 1.6.1 export TERRAFORM_PROVIDER_SOURCE ?= opensearch-project/opensearch export TERRAFORM_PROVIDER_REPO ?= https://github.com/opensearch-project/terraform-provider-opensearch -export TERRAFORM_PROVIDER_VERSION ?= 2.2.0 +export TERRAFORM_PROVIDER_VERSION ?= 2.2.1 export TERRAFORM_PROVIDER_DOWNLOAD_NAME ?= terraform-provider-opensearch export TERRAFORM_PROVIDER_DOWNLOAD_URL_PREFIX ?= https://github.com/opensearch-project/$(TERRAFORM_PROVIDER_DOWNLOAD_NAME)/releases/download/v$(TERRAFORM_PROVIDER_VERSION) export TERRAFORM_NATIVE_PROVIDER_BINARY ?= terraform-provider-opensearch_$(TERRAFORM_PROVIDER_VERSION) diff --git a/apis/anomaly/v1alpha1/zz_detection_terraformed.go b/apis/anomaly/v1alpha1/zz_detection_terraformed.go index b17f492..66b953f 100755 --- a/apis/anomaly/v1alpha1/zz_detection_terraformed.go +++ b/apis/anomaly/v1alpha1/zz_detection_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/anomaly/v1alpha1/zz_detection_types.go b/apis/anomaly/v1alpha1/zz_detection_types.go index 74cb04e..b2168c5 100755 --- a/apis/anomaly/v1alpha1/zz_detection_types.go +++ b/apis/anomaly/v1alpha1/zz_detection_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -66,8 +62,8 @@ type DetectionStatus struct { // +kubebuilder:storageversion // Detection is the Schema for the Detections API. Provides an OpenSearch anonaly detection. Please refer to the OpenSearch anomaly detection documentation for details. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/anomaly/v1alpha1/zz_generated.conversion_hubs.go b/apis/anomaly/v1alpha1/zz_generated.conversion_hubs.go index 745b404..68e62a7 100755 --- a/apis/anomaly/v1alpha1/zz_generated.conversion_hubs.go +++ b/apis/anomaly/v1alpha1/zz_generated.conversion_hubs.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/anomaly/v1alpha1/zz_groupversion_info.go b/apis/anomaly/v1alpha1/zz_groupversion_info.go index b9054c7..0af4be1 100755 --- a/apis/anomaly/v1alpha1/zz_groupversion_info.go +++ b/apis/anomaly/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // +kubebuilder:object:generate=true diff --git a/apis/audit/v1alpha1/zz_config_terraformed.go b/apis/audit/v1alpha1/zz_config_terraformed.go index 1f37197..d305196 100755 --- a/apis/audit/v1alpha1/zz_config_terraformed.go +++ b/apis/audit/v1alpha1/zz_config_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/audit/v1alpha1/zz_config_types.go b/apis/audit/v1alpha1/zz_config_types.go index 41e4aa3..9207e33 100755 --- a/apis/audit/v1alpha1/zz_config_types.go +++ b/apis/audit/v1alpha1/zz_config_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -354,8 +350,8 @@ type ConfigStatus struct { // +kubebuilder:storageversion // Config is the Schema for the Configs API. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/audit/v1alpha1/zz_generated.conversion_hubs.go b/apis/audit/v1alpha1/zz_generated.conversion_hubs.go index 8f50dc4..1ccaf30 100755 --- a/apis/audit/v1alpha1/zz_generated.conversion_hubs.go +++ b/apis/audit/v1alpha1/zz_generated.conversion_hubs.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/audit/v1alpha1/zz_groupversion_info.go b/apis/audit/v1alpha1/zz_groupversion_info.go index a6344fb..a5b7262 100755 --- a/apis/audit/v1alpha1/zz_groupversion_info.go +++ b/apis/audit/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // +kubebuilder:object:generate=true diff --git a/apis/channel/v1alpha1/zz_configuration_terraformed.go b/apis/channel/v1alpha1/zz_configuration_terraformed.go index c9cbade..4598b6d 100755 --- a/apis/channel/v1alpha1/zz_configuration_terraformed.go +++ b/apis/channel/v1alpha1/zz_configuration_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/channel/v1alpha1/zz_configuration_types.go b/apis/channel/v1alpha1/zz_configuration_types.go index 75eca51..1b9010f 100755 --- a/apis/channel/v1alpha1/zz_configuration_types.go +++ b/apis/channel/v1alpha1/zz_configuration_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -15,20 +11,24 @@ import ( type ConfigurationInitParameters struct { + // (String) The channel configuration document // The channel configuration document Body *string `json:"body,omitempty" tf:"body,omitempty"` } type ConfigurationObservation struct { + // (String) The channel configuration document // The channel configuration document Body *string `json:"body,omitempty" tf:"body,omitempty"` + // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` } type ConfigurationParameters struct { + // (String) The channel configuration document // The channel configuration document // +kubebuilder:validation:Optional Body *string `json:"body,omitempty" tf:"body,omitempty"` @@ -61,9 +61,9 @@ type ConfigurationStatus struct { // +kubebuilder:subresource:status // +kubebuilder:storageversion -// Configuration is the Schema for the Configurations API. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// Configuration is the Schema for the Configurations API. Provides an OpenSearch channel configuration. Please refer to the OpenSearch channel configuration documentation for details. // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/channel/v1alpha1/zz_generated.conversion_hubs.go b/apis/channel/v1alpha1/zz_generated.conversion_hubs.go index 68dc10d..2f1b735 100755 --- a/apis/channel/v1alpha1/zz_generated.conversion_hubs.go +++ b/apis/channel/v1alpha1/zz_generated.conversion_hubs.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/channel/v1alpha1/zz_groupversion_info.go b/apis/channel/v1alpha1/zz_groupversion_info.go index d24f99b..66d4857 100755 --- a/apis/channel/v1alpha1/zz_groupversion_info.go +++ b/apis/channel/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // +kubebuilder:object:generate=true diff --git a/apis/cluster/v1alpha1/zz_generated.conversion_hubs.go b/apis/cluster/v1alpha1/zz_generated.conversion_hubs.go index b89b287..bf49a34 100755 --- a/apis/cluster/v1alpha1/zz_generated.conversion_hubs.go +++ b/apis/cluster/v1alpha1/zz_generated.conversion_hubs.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/cluster/v1alpha1/zz_groupversion_info.go b/apis/cluster/v1alpha1/zz_groupversion_info.go index 2a3bdc0..c0fd3d6 100755 --- a/apis/cluster/v1alpha1/zz_groupversion_info.go +++ b/apis/cluster/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // +kubebuilder:object:generate=true diff --git a/apis/cluster/v1alpha1/zz_settings_terraformed.go b/apis/cluster/v1alpha1/zz_settings_terraformed.go index 75935ba..252e03d 100755 --- a/apis/cluster/v1alpha1/zz_settings_terraformed.go +++ b/apis/cluster/v1alpha1/zz_settings_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/cluster/v1alpha1/zz_settings_types.go b/apis/cluster/v1alpha1/zz_settings_types.go index bc8aafe..258f1b8 100755 --- a/apis/cluster/v1alpha1/zz_settings_types.go +++ b/apis/cluster/v1alpha1/zz_settings_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -560,8 +556,8 @@ type SettingsStatus struct { // +kubebuilder:storageversion // Settings is the Schema for the Settingss API. Manages a cluster's (persistent) settings. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/component/v1alpha1/zz_generated.conversion_hubs.go b/apis/component/v1alpha1/zz_generated.conversion_hubs.go index 0ce11be..f3e1db8 100755 --- a/apis/component/v1alpha1/zz_generated.conversion_hubs.go +++ b/apis/component/v1alpha1/zz_generated.conversion_hubs.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/component/v1alpha1/zz_groupversion_info.go b/apis/component/v1alpha1/zz_groupversion_info.go index ff047b0..8d06170 100755 --- a/apis/component/v1alpha1/zz_groupversion_info.go +++ b/apis/component/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // +kubebuilder:object:generate=true diff --git a/apis/component/v1alpha1/zz_template_terraformed.go b/apis/component/v1alpha1/zz_template_terraformed.go index c54a2da..b2c2b17 100755 --- a/apis/component/v1alpha1/zz_template_terraformed.go +++ b/apis/component/v1alpha1/zz_template_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/component/v1alpha1/zz_template_types.go b/apis/component/v1alpha1/zz_template_types.go index 52a6236..ac07a48 100755 --- a/apis/component/v1alpha1/zz_template_types.go +++ b/apis/component/v1alpha1/zz_template_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -79,8 +75,8 @@ type TemplateStatus struct { // +kubebuilder:storageversion // Template is the Schema for the Templates API. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. You cannot directly apply a component template to a data stream or index. To be applied, a component template must be included in an index template’s composed_of list. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/composable/v1alpha1/zz_generated.conversion_hubs.go b/apis/composable/v1alpha1/zz_generated.conversion_hubs.go index 5905664..7c50977 100755 --- a/apis/composable/v1alpha1/zz_generated.conversion_hubs.go +++ b/apis/composable/v1alpha1/zz_generated.conversion_hubs.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/composable/v1alpha1/zz_groupversion_info.go b/apis/composable/v1alpha1/zz_groupversion_info.go index 2928000..4335348 100755 --- a/apis/composable/v1alpha1/zz_groupversion_info.go +++ b/apis/composable/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // +kubebuilder:object:generate=true diff --git a/apis/composable/v1alpha1/zz_indextemplate_terraformed.go b/apis/composable/v1alpha1/zz_indextemplate_terraformed.go index 004724f..8c923be 100755 --- a/apis/composable/v1alpha1/zz_indextemplate_terraformed.go +++ b/apis/composable/v1alpha1/zz_indextemplate_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/composable/v1alpha1/zz_indextemplate_types.go b/apis/composable/v1alpha1/zz_indextemplate_types.go index 0b9b1ea..3b1d373 100755 --- a/apis/composable/v1alpha1/zz_indextemplate_types.go +++ b/apis/composable/v1alpha1/zz_indextemplate_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -79,8 +75,8 @@ type IndexTemplateStatus struct { // +kubebuilder:storageversion // IndexTemplate is the Schema for the IndexTemplates API. Provides an Composable index template resource. This resource uses the /_index_template endpoint of the API that is available since version 2.0.0. Use opensearch_index_template if you are using older versions or if you want to keep using legacy Index Templates. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/dashboard/v1alpha1/zz_generated.conversion_hubs.go b/apis/dashboard/v1alpha1/zz_generated.conversion_hubs.go index 91e877a..ceae838 100755 --- a/apis/dashboard/v1alpha1/zz_generated.conversion_hubs.go +++ b/apis/dashboard/v1alpha1/zz_generated.conversion_hubs.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/dashboard/v1alpha1/zz_groupversion_info.go b/apis/dashboard/v1alpha1/zz_groupversion_info.go index 2661ad6..ab854b1 100755 --- a/apis/dashboard/v1alpha1/zz_groupversion_info.go +++ b/apis/dashboard/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // +kubebuilder:object:generate=true diff --git a/apis/dashboard/v1alpha1/zz_object_terraformed.go b/apis/dashboard/v1alpha1/zz_object_terraformed.go index 6bdec33..ade2a81 100755 --- a/apis/dashboard/v1alpha1/zz_object_terraformed.go +++ b/apis/dashboard/v1alpha1/zz_object_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/dashboard/v1alpha1/zz_object_types.go b/apis/dashboard/v1alpha1/zz_object_types.go index 0489cf7..8dba816 100755 --- a/apis/dashboard/v1alpha1/zz_object_types.go +++ b/apis/dashboard/v1alpha1/zz_object_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -79,8 +75,8 @@ type ObjectStatus struct { // +kubebuilder:storageversion // Object is the Schema for the Objects API. Provides an OpenSearch Dashboards object resource. This resource interacts directly with the underlying OpenSearch index backing Dashboards, so the format must match what Dashboards the version of Dashboards is expecting. Dashboards with older versions - directly pulling the JSON from a Dashboards index of the same version of OpenSearch targeted by the provider is a workaround. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/dashboard/v1alpha1/zz_tenant_terraformed.go b/apis/dashboard/v1alpha1/zz_tenant_terraformed.go index 8ac861d..668be41 100755 --- a/apis/dashboard/v1alpha1/zz_tenant_terraformed.go +++ b/apis/dashboard/v1alpha1/zz_tenant_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/dashboard/v1alpha1/zz_tenant_types.go b/apis/dashboard/v1alpha1/zz_tenant_types.go index 78899ce..2571940 100755 --- a/apis/dashboard/v1alpha1/zz_tenant_types.go +++ b/apis/dashboard/v1alpha1/zz_tenant_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -82,8 +78,8 @@ type TenantStatus struct { // +kubebuilder:storageversion // Tenant is the Schema for the Tenants API. Provides an OpenSearch dashboard tenant resource. Please refer to the OpenSearch documentation for details. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/data/v1alpha1/zz_generated.conversion_hubs.go b/apis/data/v1alpha1/zz_generated.conversion_hubs.go index 271eb40..8af15de 100755 --- a/apis/data/v1alpha1/zz_generated.conversion_hubs.go +++ b/apis/data/v1alpha1/zz_generated.conversion_hubs.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/data/v1alpha1/zz_groupversion_info.go b/apis/data/v1alpha1/zz_groupversion_info.go index 2edd717..c9243ea 100755 --- a/apis/data/v1alpha1/zz_groupversion_info.go +++ b/apis/data/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // +kubebuilder:object:generate=true diff --git a/apis/data/v1alpha1/zz_stream_terraformed.go b/apis/data/v1alpha1/zz_stream_terraformed.go index c80a498..d675512 100755 --- a/apis/data/v1alpha1/zz_stream_terraformed.go +++ b/apis/data/v1alpha1/zz_stream_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/data/v1alpha1/zz_stream_types.go b/apis/data/v1alpha1/zz_stream_types.go index ea5f37a..c5f2ea5 100755 --- a/apis/data/v1alpha1/zz_stream_types.go +++ b/apis/data/v1alpha1/zz_stream_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -66,8 +62,8 @@ type StreamStatus struct { // +kubebuilder:storageversion // Stream is the Schema for the Streams API. A data stream lets you store append-only time series data across multiple (hidden, auto-generated) indices while giving you a single named resource for requests -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/index/v1alpha1/zz_generated.conversion_hubs.go b/apis/index/v1alpha1/zz_generated.conversion_hubs.go index 0ce11be..f3e1db8 100755 --- a/apis/index/v1alpha1/zz_generated.conversion_hubs.go +++ b/apis/index/v1alpha1/zz_generated.conversion_hubs.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/index/v1alpha1/zz_groupversion_info.go b/apis/index/v1alpha1/zz_groupversion_info.go index 21a4a94..c822823 100755 --- a/apis/index/v1alpha1/zz_groupversion_info.go +++ b/apis/index/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // +kubebuilder:object:generate=true diff --git a/apis/index/v1alpha1/zz_template_terraformed.go b/apis/index/v1alpha1/zz_template_terraformed.go index a9f2dde..44ca638 100755 --- a/apis/index/v1alpha1/zz_template_terraformed.go +++ b/apis/index/v1alpha1/zz_template_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/index/v1alpha1/zz_template_types.go b/apis/index/v1alpha1/zz_template_types.go index e11001b..b2800ca 100755 --- a/apis/index/v1alpha1/zz_template_types.go +++ b/apis/index/v1alpha1/zz_template_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -79,8 +75,8 @@ type TemplateStatus struct { // +kubebuilder:storageversion // Template is the Schema for the Templates API. Provides an OpenSearch index template resource. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/ingest/v1alpha1/zz_generated.conversion_hubs.go b/apis/ingest/v1alpha1/zz_generated.conversion_hubs.go index 01a55be..4888e91 100755 --- a/apis/ingest/v1alpha1/zz_generated.conversion_hubs.go +++ b/apis/ingest/v1alpha1/zz_generated.conversion_hubs.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/ingest/v1alpha1/zz_groupversion_info.go b/apis/ingest/v1alpha1/zz_groupversion_info.go index 0d47534..c18af1a 100755 --- a/apis/ingest/v1alpha1/zz_groupversion_info.go +++ b/apis/ingest/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // +kubebuilder:object:generate=true diff --git a/apis/ingest/v1alpha1/zz_pipeline_terraformed.go b/apis/ingest/v1alpha1/zz_pipeline_terraformed.go index 85252f9..a29a847 100755 --- a/apis/ingest/v1alpha1/zz_pipeline_terraformed.go +++ b/apis/ingest/v1alpha1/zz_pipeline_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/ingest/v1alpha1/zz_pipeline_types.go b/apis/ingest/v1alpha1/zz_pipeline_types.go index a5a0f85..094e927 100755 --- a/apis/ingest/v1alpha1/zz_pipeline_types.go +++ b/apis/ingest/v1alpha1/zz_pipeline_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -79,8 +75,8 @@ type PipelineStatus struct { // +kubebuilder:storageversion // Pipeline is the Schema for the Pipelines API. Provides an OpenSearch ingest pipeline resource. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/ism/v1alpha1/zz_generated.conversion_hubs.go b/apis/ism/v1alpha1/zz_generated.conversion_hubs.go index 246e243..eaf9a93 100755 --- a/apis/ism/v1alpha1/zz_generated.conversion_hubs.go +++ b/apis/ism/v1alpha1/zz_generated.conversion_hubs.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/ism/v1alpha1/zz_groupversion_info.go b/apis/ism/v1alpha1/zz_groupversion_info.go index ef6fd0b..687ccb7 100755 --- a/apis/ism/v1alpha1/zz_groupversion_info.go +++ b/apis/ism/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // +kubebuilder:object:generate=true diff --git a/apis/ism/v1alpha1/zz_policy_terraformed.go b/apis/ism/v1alpha1/zz_policy_terraformed.go index b254de6..2037d07 100755 --- a/apis/ism/v1alpha1/zz_policy_terraformed.go +++ b/apis/ism/v1alpha1/zz_policy_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/ism/v1alpha1/zz_policy_types.go b/apis/ism/v1alpha1/zz_policy_types.go index 6a19431..f9e863b 100755 --- a/apis/ism/v1alpha1/zz_policy_types.go +++ b/apis/ism/v1alpha1/zz_policy_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -105,8 +101,8 @@ type PolicyStatus struct { // +kubebuilder:storageversion // Policy is the Schema for the Policys API. Provides an OpenSearch Index State Management (ISM) policy. Please refer to the OpenSearch ISM documentation for details. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/ism/v1alpha1/zz_policymapping_terraformed.go b/apis/ism/v1alpha1/zz_policymapping_terraformed.go index 151e721..81b3b03 100755 --- a/apis/ism/v1alpha1/zz_policymapping_terraformed.go +++ b/apis/ism/v1alpha1/zz_policymapping_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/ism/v1alpha1/zz_policymapping_types.go b/apis/ism/v1alpha1/zz_policymapping_types.go index 0c72ffe..a503390 100755 --- a/apis/ism/v1alpha1/zz_policymapping_types.go +++ b/apis/ism/v1alpha1/zz_policymapping_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -127,9 +123,9 @@ type PolicyMappingStatus struct { // +kubebuilder:subresource:status // +kubebuilder:storageversion -// PolicyMapping is the Schema for the PolicyMappings API. Provides an OpenSearch Index State Management (ISM) policy. Please refer to the OpenSearch ISM documentation for details. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// PolicyMapping is the Schema for the PolicyMappings API. Provides an OpenSearch Index State Management (ISM) policy. Please refer to the OpenSearch ISM documentation for details. !> opensearch_ism_policy_mapping is deprecated in OpenSearch 1.x please use the opensearch_ism_policy resource and specify the ism_template attribute in the policies instead. // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/opensearch/v1alpha1/zz_generated.conversion_hubs.go b/apis/opensearch/v1alpha1/zz_generated.conversion_hubs.go index b34eb53..034c4ee 100755 --- a/apis/opensearch/v1alpha1/zz_generated.conversion_hubs.go +++ b/apis/opensearch/v1alpha1/zz_generated.conversion_hubs.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/opensearch/v1alpha1/zz_groupversion_info.go b/apis/opensearch/v1alpha1/zz_groupversion_info.go index c03bac7..289a9c7 100755 --- a/apis/opensearch/v1alpha1/zz_groupversion_info.go +++ b/apis/opensearch/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // +kubebuilder:object:generate=true diff --git a/apis/opensearch/v1alpha1/zz_index_terraformed.go b/apis/opensearch/v1alpha1/zz_index_terraformed.go index ac78ebe..912fedf 100755 --- a/apis/opensearch/v1alpha1/zz_index_terraformed.go +++ b/apis/opensearch/v1alpha1/zz_index_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/opensearch/v1alpha1/zz_index_types.go b/apis/opensearch/v1alpha1/zz_index_types.go index 6772365..8f7a92f 100755 --- a/apis/opensearch/v1alpha1/zz_index_types.go +++ b/apis/opensearch/v1alpha1/zz_index_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -95,7 +91,7 @@ type IndexInitParameters struct { // Indicates whether the index should build native library indices for the knn_vector fields. If set to false, the knn_vector fields will be stored in doc values, but Approximate k-NN search functionality will be disabled. IndexKnn *bool `json:"indexKnn,omitempty" tf:"index_knn,omitempty"` - // NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib implementation. + // NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib. // The size of the dynamic list used during k-NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib. IndexKnnAlgoParamEfSearch *string `json:"indexKnnAlgoParamEfSearch,omitempty" tf:"index_knn_algo_param_ef_search,omitempty"` @@ -348,7 +344,7 @@ type IndexObservation struct { // Indicates whether the index should build native library indices for the knn_vector fields. If set to false, the knn_vector fields will be stored in doc values, but Approximate k-NN search functionality will be disabled. IndexKnn *bool `json:"indexKnn,omitempty" tf:"index_knn,omitempty"` - // NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib implementation. + // NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib. // The size of the dynamic list used during k-NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib. IndexKnnAlgoParamEfSearch *string `json:"indexKnnAlgoParamEfSearch,omitempty" tf:"index_knn_algo_param_ef_search,omitempty"` @@ -618,7 +614,7 @@ type IndexParameters struct { // +kubebuilder:validation:Optional IndexKnn *bool `json:"indexKnn,omitempty" tf:"index_knn,omitempty"` - // NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib implementation. + // NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib. // The size of the dynamic list used during k-NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib. // +kubebuilder:validation:Optional IndexKnnAlgoParamEfSearch *string `json:"indexKnnAlgoParamEfSearch,omitempty" tf:"index_knn_algo_param_ef_search,omitempty"` @@ -856,8 +852,8 @@ type IndexStatus struct { // +kubebuilder:storageversion // Index is the Schema for the Indexs API. Provides an OpenSearch index resource. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/opensearch/v1alpha1/zz_monitor_terraformed.go b/apis/opensearch/v1alpha1/zz_monitor_terraformed.go index 450766e..05067b1 100755 --- a/apis/opensearch/v1alpha1/zz_monitor_terraformed.go +++ b/apis/opensearch/v1alpha1/zz_monitor_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/opensearch/v1alpha1/zz_monitor_types.go b/apis/opensearch/v1alpha1/zz_monitor_types.go index f055b4f..a9e06d0 100755 --- a/apis/opensearch/v1alpha1/zz_monitor_types.go +++ b/apis/opensearch/v1alpha1/zz_monitor_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -66,8 +62,8 @@ type MonitorStatus struct { // +kubebuilder:storageversion // Monitor is the Schema for the Monitors API. Provides an OpenSearch monitor. Please refer to the OpenSearch monitor documentation for details. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/opensearch/v1alpha1/zz_role_terraformed.go b/apis/opensearch/v1alpha1/zz_role_terraformed.go index 0c3767f..942a50f 100755 --- a/apis/opensearch/v1alpha1/zz_role_terraformed.go +++ b/apis/opensearch/v1alpha1/zz_role_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/opensearch/v1alpha1/zz_role_types.go b/apis/opensearch/v1alpha1/zz_role_types.go index f3eb7f3..265a32c 100755 --- a/apis/opensearch/v1alpha1/zz_role_types.go +++ b/apis/opensearch/v1alpha1/zz_role_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -248,8 +244,8 @@ type RoleStatus struct { // +kubebuilder:storageversion // Role is the Schema for the Roles API. Provides an OpenSearch security role resource. Please refer to the OpenSearch Access Control documentation for details. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/opensearch/v1alpha1/zz_script_terraformed.go b/apis/opensearch/v1alpha1/zz_script_terraformed.go index fa7236c..6099a6f 100755 --- a/apis/opensearch/v1alpha1/zz_script_terraformed.go +++ b/apis/opensearch/v1alpha1/zz_script_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/opensearch/v1alpha1/zz_script_types.go b/apis/opensearch/v1alpha1/zz_script_types.go index e3b8db0..b7b7802 100755 --- a/apis/opensearch/v1alpha1/zz_script_types.go +++ b/apis/opensearch/v1alpha1/zz_script_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -92,8 +88,8 @@ type ScriptStatus struct { // +kubebuilder:storageversion // Script is the Schema for the Scripts API. Provides an OpenSearch script resource. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/opensearch/v1alpha1/zz_user_terraformed.go b/apis/opensearch/v1alpha1/zz_user_terraformed.go index c909ab0..e78260d 100755 --- a/apis/opensearch/v1alpha1/zz_user_terraformed.go +++ b/apis/opensearch/v1alpha1/zz_user_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/opensearch/v1alpha1/zz_user_types.go b/apis/opensearch/v1alpha1/zz_user_types.go index af345ce..873d93d 100755 --- a/apis/opensearch/v1alpha1/zz_user_types.go +++ b/apis/opensearch/v1alpha1/zz_user_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -121,8 +117,8 @@ type UserStatus struct { // +kubebuilder:storageversion // User is the Schema for the Users API. Provides an OpenSearch security user. Please refer to the OpenSearch Access Control documentation for details. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/roles/v1alpha1/zz_generated.conversion_hubs.go b/apis/roles/v1alpha1/zz_generated.conversion_hubs.go index 2abc807..a92cac0 100755 --- a/apis/roles/v1alpha1/zz_generated.conversion_hubs.go +++ b/apis/roles/v1alpha1/zz_generated.conversion_hubs.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/roles/v1alpha1/zz_groupversion_info.go b/apis/roles/v1alpha1/zz_groupversion_info.go index b6b561b..262cd72 100755 --- a/apis/roles/v1alpha1/zz_groupversion_info.go +++ b/apis/roles/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // +kubebuilder:object:generate=true diff --git a/apis/roles/v1alpha1/zz_mapping_terraformed.go b/apis/roles/v1alpha1/zz_mapping_terraformed.go index 8d00b42..7389cd5 100755 --- a/apis/roles/v1alpha1/zz_mapping_terraformed.go +++ b/apis/roles/v1alpha1/zz_mapping_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/roles/v1alpha1/zz_mapping_types.go b/apis/roles/v1alpha1/zz_mapping_types.go index 74aa829..211498e 100755 --- a/apis/roles/v1alpha1/zz_mapping_types.go +++ b/apis/roles/v1alpha1/zz_mapping_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -179,8 +175,8 @@ type MappingStatus struct { // +kubebuilder:storageversion // Mapping is the Schema for the Mappings API. Provides an OpenSearch security role mapping. Please refer to the OpenSearch Access Control documentation for details. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/sm/v1alpha1/zz_generated.conversion_hubs.go b/apis/sm/v1alpha1/zz_generated.conversion_hubs.go index 0ddd1d8..753e5b1 100755 --- a/apis/sm/v1alpha1/zz_generated.conversion_hubs.go +++ b/apis/sm/v1alpha1/zz_generated.conversion_hubs.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/sm/v1alpha1/zz_groupversion_info.go b/apis/sm/v1alpha1/zz_groupversion_info.go index ab8bdf5..888b85b 100755 --- a/apis/sm/v1alpha1/zz_groupversion_info.go +++ b/apis/sm/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // +kubebuilder:object:generate=true diff --git a/apis/sm/v1alpha1/zz_policy_terraformed.go b/apis/sm/v1alpha1/zz_policy_terraformed.go index ab244d2..ac6c8ca 100755 --- a/apis/sm/v1alpha1/zz_policy_terraformed.go +++ b/apis/sm/v1alpha1/zz_policy_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/sm/v1alpha1/zz_policy_types.go b/apis/sm/v1alpha1/zz_policy_types.go index 9dafd9f..794394f 100755 --- a/apis/sm/v1alpha1/zz_policy_types.go +++ b/apis/sm/v1alpha1/zz_policy_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -105,8 +101,8 @@ type PolicyStatus struct { // +kubebuilder:storageversion // Policy is the Schema for the Policys API. Provides an OpenSearch Snapshot Management (SM) policy. Please refer to the OpenSearch SM documentation for details. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/snapshot/v1alpha1/zz_generated.conversion_hubs.go b/apis/snapshot/v1alpha1/zz_generated.conversion_hubs.go index e29cfb5..95dbb4f 100755 --- a/apis/snapshot/v1alpha1/zz_generated.conversion_hubs.go +++ b/apis/snapshot/v1alpha1/zz_generated.conversion_hubs.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/snapshot/v1alpha1/zz_groupversion_info.go b/apis/snapshot/v1alpha1/zz_groupversion_info.go index fa6027f..6c0bd9d 100755 --- a/apis/snapshot/v1alpha1/zz_groupversion_info.go +++ b/apis/snapshot/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // +kubebuilder:object:generate=true diff --git a/apis/snapshot/v1alpha1/zz_repository_terraformed.go b/apis/snapshot/v1alpha1/zz_repository_terraformed.go index 59b5a97..cbfdf02 100755 --- a/apis/snapshot/v1alpha1/zz_repository_terraformed.go +++ b/apis/snapshot/v1alpha1/zz_repository_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 diff --git a/apis/snapshot/v1alpha1/zz_repository_types.go b/apis/snapshot/v1alpha1/zz_repository_types.go index 4403ac3..9454a08 100755 --- a/apis/snapshot/v1alpha1/zz_repository_types.go +++ b/apis/snapshot/v1alpha1/zz_repository_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package v1alpha1 @@ -95,8 +91,8 @@ type RepositoryStatus struct { // +kubebuilder:storageversion // Repository is the Schema for the Repositorys API. Provides an OpenSearch snapshot repository resource. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,opensearch} diff --git a/apis/zz_register.go b/apis/zz_register.go index 1e39f14..3e550e4 100755 --- a/apis/zz_register.go +++ b/apis/zz_register.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. // Package apis contains Kubernetes API for the provider. diff --git a/config/provider-metadata.yaml b/config/provider-metadata.yaml index c580cb0..66e3b51 100644 --- a/config/provider-metadata.yaml +++ b/config/provider-metadata.yaml @@ -12,23 +12,23 @@ resources: aws_profile: (String) The AWS profile for use with AWS OpenSearch Service domains aws_region: (String) The AWS region for use in signing of AWS OpenSearch requests. Must be specified in order to use AWS URL signing with AWS OpenSearch endpoint exposed on a custom DNS domain. aws_secret_key: (String) The secret key for use with AWS OpenSearch Service domains - aws_signature_service: (String) AWS service name used in the credential scope of signed requests to opensearch. + aws_signature_service: (String) AWS service name used in the credential scope of signed requests to OpenSearch. aws_token: (String) The session token for use with AWS OpenSearch Service domains cacert_file: (String) A Custom CA certificate - client_cert_path: (String) A X509 certificate to connect to opensearch - client_key_path: (String) A X509 key to connect to opensearch - healthcheck: (Boolean) Set the client healthcheck option for the opensearch client. Healthchecking is designed for direct access to the cluster. - host_override: (String) If provided, sets the 'Host' header of requests and the 'ServerName' for certificate validation to this value. See the documentation on connecting to opensearch via an SSH tunnel. + client_cert_path: (String) A X509 certificate to connect to OpenSearch + client_key_path: (String) A X509 key to connect to OpenSearch + healthcheck: (Boolean) Set the client healthcheck option for the OpenSearch client. Healthchecking is designed for direct access to the cluster. + host_override: (String) If provided, sets the 'Host' header of requests and the 'ServerName' for certificate validation to this value. See the documentation on connecting to OpenSearch via an SSH tunnel. insecure: (Boolean) Disable SSL verification of API calls - opensearch_version: (String) opensearch Version - password: (String) Password to use to connect to opensearch using basic auth - proxy: (String) Proxy URL to use for requests to opensearch. - sign_aws_requests: (Boolean) Enable signing of AWS opensearch requests. The url must refer to AWS ES domain (*..es.amazonaws.com), or aws_region must be specified explicitly. - sniff: (Boolean) Set the node sniffing option for the opensearch client. Client won't work with sniffing if nodes are not routable. + opensearch_version: (String) OpenSearch Version + password: (String) Password to use to connect to OpenSearch using basic auth + proxy: (String) Proxy URL to use for requests to OpenSearch. + sign_aws_requests: (Boolean) Enable signing of AWS OpenSearch requests. The url must refer to AWS ES domain (*..es.amazonaws.com), or aws_region must be specified explicitly. + sniff: (Boolean) Set the node sniffing option for the OpenSearch client. Client won't work with sniffing if nodes are not routable. token: (String) A bearer token or ApiKey for an Authorization header, e.g. Active Directory API key. token_name: (String) The type of token, usually ApiKey or Bearer url: (String) OpenSearch URL - username: (String) Username to use to connect to opensearch using basic auth + username: (String) Username to use to connect to OpenSearch using basic auth version_ping_timeout: (Number) Version ping timeout in seconds importStatements: - |- @@ -153,15 +153,22 @@ resources: - |- # Import by name terraform import opensearch_audit_config.test_config my-config - opensearch_channel_configuration Resource - terraform-provider-opensearch: + opensearch_channel_configuration: subCategory: "" description: Provides an OpenSearch channel configuration. Please refer to the OpenSearch channel configuration documentation for details. - name: opensearch_channel_configuration Resource - terraform-provider-opensearch + name: opensearch_channel_configuration title: opensearch_channel_configuration Resource - terraform-provider-opensearch + examples: + - name: configuration_1 + manifest: |- + { + "body": "{\n \"config_id\": \"configuration_1\",\n \"config\": {\n \"name\": \"name\",\n \"description\" : \"description\",\n \"config_type\" : \"slack\",\n \"is_enabled\" : true,\n \"slack\": {\n \"url\": \"https://sample-slack-webhook\"\n }\n }\n}\n" + } argumentDocs: body: (String) The channel configuration document id: (String) The ID of this resource. - importStatements: [] + importStatements: + - terraform import opensearch_channel_configuration.configuration_1 configuration_1 opensearch_cluster_settings: subCategory: "" description: Manages a cluster's (persistent) settings. @@ -225,7 +232,7 @@ resources: - name: test manifest: |- { - "body": "{\n \"template\": {\n \"settings\": {\n \"index\": {\n \"number_of_shards\": 1\n }\n },\n \"mappings\": {\n \"properties\": {\n \"host_name\": {\n \"type\": \"keyword\"\n },\n \"created_at\": {\n \"type\": \"date\",\n \"format\": \"EEE MMM dd HH:mm:ss Z yyyy\"\n }\n }\n },\n \"aliases\": {\n \"mydata\": { }\n }\n }\n}\n", + "body": "{\n \"template\": {\n \"settings\": {\n \"index\": {\n \"number_of_shards\": \"1\"\n }\n },\n \"mappings\": {\n \"properties\": {\n \"host_name\": {\n \"type\": \"keyword\"\n },\n \"created_at\": {\n \"type\": \"date\",\n \"format\": \"EEE MMM dd HH:mm:ss Z yyyy\"\n }\n }\n },\n \"aliases\": {\n \"mydata\": { }\n }\n }\n}\n", "name": "terraform-test" } argumentDocs: @@ -245,7 +252,7 @@ resources: - name: template_1 manifest: |- { - "body": "{\n \"index_patterns\": [\"te*\", \"bar*\"],\n \"template\": {\n \"settings\": {\n \"index\": {\n \"number_of_shards\": 1\n }\n },\n \"mappings\": {\n \"properties\": {\n \"host_name\": {\n \"type\": \"keyword\"\n },\n \"created_at\": {\n \"type\": \"date\",\n \"format\": \"EEE MMM dd HH:mm:ss Z yyyy\"\n }\n }\n },\n \"aliases\": {\n \"mydata\": { }\n }\n },\n \"priority\": 200,\n \"version\": 3\n}\n", + "body": "{\n \"index_patterns\": [\"te*\", \"bar*\"],\n \"template\": {\n \"settings\": {\n \"index\": {\n \"number_of_shards\": \"1\"\n }\n },\n \"mappings\": {\n \"properties\": {\n \"host_name\": {\n \"type\": \"keyword\"\n },\n \"created_at\": {\n \"type\": \"date\",\n \"format\": \"EEE MMM dd HH:mm:ss Z yyyy\"\n }\n }\n },\n \"aliases\": {\n \"mydata\": { }\n }\n },\n \"priority\": 200,\n \"version\": 3\n}\n", "name": "template_1" } argumentDocs: @@ -344,13 +351,13 @@ resources: name: opensearch_index title: opensearch_index Resource - terraform-provider-opensearch examples: - - name: test + - name: test-simple-index manifest: |- { - "mappings": "{\n \"people\": {\n \"_all\": {\n \"enabled\": false\n },\n \"properties\": {\n \"email\": {\n \"type\": \"text\"\n }\n }\n }\n}\n", + "mappings": "{\n \"properties\": {\n \"name\": {\n \"type\": \"text\"\n }\n }\n}\n", "name": "terraform-test", - "number_of_replicas": 1, - "number_of_shards": 1 + "number_of_replicas": "1", + "number_of_shards": "1" } argumentDocs: aliases: (String) A JSON string describing a set of aliases. The index aliases API allows aliasing an index with a name, with all APIs automatically converting the alias name to the actual index name. An alias can also be mapped to more than one index, and when specifying it, the alias will automatically expand to the aliased indices. @@ -374,7 +381,7 @@ resources: id: (String) The ID of this resource. include_type_name: (String) A string that indicates if and what we should pass to include_type_name parameter. Set to "false" when trying to create an index on a v6 cluster without a doc type or set to "true" when trying to create an index on a v7 cluster with a doc type. Since mapping updates are not currently supported, this applies only on index create. index_knn: (Boolean) Indicates whether the index should build native library indices for the knn_vector fields. If set to false, the knn_vector fields will be stored in doc values, but Approximate k-NN search functionality will be disabled. - index_knn_algo_param_ef_search: (String) The size of the dynamic list used during k-NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib implementation. + index_knn_algo_param_ef_search: (String) The size of the dynamic list used during k-NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib. index_similarity_default: (String) A JSON string describing the default index similarity config. indexing_slowlog_level: '(String) Set which logging level to use for the search slow log, can be: warn, info, debug, trace' indexing_slowlog_source: (String) Set the number of characters of the _source to include in the slowlog lines, false or 0 will skip logging the source entirely and setting it to true will log the entire source regardless of size. The original _source is reformatted by default to make sure that it fits on a single log line. @@ -429,7 +436,7 @@ resources: - name: template_1 manifest: |- { - "body": "{\n \"template\": \"te*\",\n \"settings\": {\n \"number_of_shards\": 1\n },\n \"mappings\": {\n \"type1\": {\n \"_source\": {\n \"enabled\": false\n },\n \"properties\": {\n \"host_name\": {\n \"type\": \"keyword\"\n },\n \"created_at\": {\n \"type\": \"date\",\n \"format\": \"EEE MMM dd HH:mm:ss Z YYYY\"\n }\n }\n }\n }\n}\n", + "body": "{\n \"index_patterns\": [\n \"logs-2020-01-*\"\n ],\n \"template\": {\n \"aliases\": {\n \"my_logs\": {}\n },\n \"settings\": {\n \"index\": {\n \"number_of_shards\": \"2\",\n \"number_of_replicas\": \"1\"\n }\n },\n \"mappings\": {\n \"properties\": {\n \"timestamp\": {\n \"type\": \"date\",\n \"format\": \"yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis\"\n },\n \"value\": {\n \"type\": \"double\"\n }\n }\n }\n }\n}\n", "name": "template_1" } argumentDocs: @@ -478,7 +485,7 @@ resources: - terraform import opensearch_ism_policy.cleanup delete_after_15d opensearch_ism_policy_mapping: subCategory: "" - description: Provides an OpenSearch Index State Management (ISM) policy. Please refer to the OpenSearch ISM documentation for details. + description: Provides an OpenSearch Index State Management (ISM) policy. Please refer to the OpenSearch ISM documentation for details. !> opensearch_ism_policy_mapping is deprecated in OpenSearch 1.x please use the opensearch_ism_policy resource and specify the ism_template attribute in the policies instead. name: opensearch_ism_policy_mapping title: opensearch_ism_policy_mapping Resource - terraform-provider-opensearch examples: @@ -513,7 +520,7 @@ resources: - name: movies_last_hour manifest: |- { - "body": "{\n \"name\": \"test-monitor\",\n \"type\": \"monitor\",\n \"enabled\": true,\n \"schedule\": {\n \"period\": {\n \"interval\": 1,\n \"unit\": \"MINUTES\"\n }\n },\n \"inputs\": [{\n \"search\": {\n \"indices\": [\"movies\"],\n \"query\": {\n \"size\": 0,\n \"aggregations\": {},\n \"query\": {\n \"bool\": {\n \"adjust_pure_negative\":true,\n \"boost\":1,\n \"filter\": [{\n \"range\": {\n \"@timestamp\": {\n \"boost\":1,\n \"from\":\"||-1h\",\n \"to\":\"\",\n \"include_lower\":true,\n \"include_upper\":true,\n \"format\": \"epoch_millis\"\n }\n }\n }]\n }\n }\n }\n }\n }],\n \"triggers\": [\n {\n \"name\" : \"Errors\",\n \"severity\" : \"1\",\n \"condition\" : {\n \"script\" : {\n \"source\" : \"ctx.results[0].hits.total.value \u003e 0\",\n \"lang\" : \"painless\"\n }\n },\n \"actions\" : [\n {\n \"name\" : \"Slack\",\n \"destination_id\" : \"${opensearch_destination.slack_on_call_channel.id}\",\n \"message_template\" : {\n \"source\" : \"bogus\",\n \"lang\" : \"mustache\"\n },\n \"throttle_enabled\" : false,\n \"subject_template\" : {\n \"source\" : \"Production Errors\",\n \"lang\" : \"mustache\"\n }\n }\n ]\n }\n ]\n}\n" + "body": "{\n \"name\": \"test-monitor\",\n \"type\": \"monitor\",\n \"enabled\": true,\n \"schedule\": {\n \"period\": {\n \"interval\": 1,\n \"unit\": \"MINUTES\"\n }\n },\n \"inputs\": [{\n \"search\": {\n \"indices\": [\"movies\"],\n \"query\": {\n \"size\": 0,\n \"aggregations\": {},\n \"query\": {\n \"bool\": {\n \"adjust_pure_negative\":true,\n \"boost\":1,\n \"filter\": [{\n \"range\": {\n \"@timestamp\": {\n \"boost\":1,\n \"from\":\"||-1h\",\n \"to\":\"\",\n \"include_lower\":true,\n \"include_upper\":true,\n \"format\": \"epoch_millis\"\n }\n }\n }]\n }\n }\n }\n }\n }],\n \"triggers\": [\n {\n \"name\" : \"Errors\",\n \"severity\" : \"1\",\n \"condition\" : {\n \"script\" : {\n \"source\" : \"ctx.results[0].hits.total.value \u003e 0\",\n \"lang\" : \"painless\"\n }\n },\n \"actions\" : [\n {\n \"name\" : \"Slack\",\n \"destination_id\" : \"${opensearch_channel_configuration.slack_on_call_channel.id}\",\n \"message_template\" : {\n \"source\" : \"bogus\",\n \"lang\" : \"mustache\"\n },\n \"throttle_enabled\" : false,\n \"subject_template\" : {\n \"source\" : \"Production Errors\",\n \"lang\" : \"mustache\"\n }\n }\n ]\n }\n ]\n}\n" } argumentDocs: body: (String) The monitor document diff --git a/config/schema.json b/config/schema.json index ddb4ba2..da40d08 100644 --- a/config/schema.json +++ b/config/schema.json @@ -1 +1 @@ -{"format_version":"1.0","provider_schemas":{"registry.terraform.io/opensearch-project/opensearch":{"provider":{"version":0,"block":{"attributes":{"aws_access_key":{"type":"string","description":"The access key for use with AWS opensearch Service domains","description_kind":"plain","optional":true},"aws_assume_role_arn":{"type":"string","description":"Amazon Resource Name of an IAM Role to assume prior to making AWS API calls.","description_kind":"plain","optional":true},"aws_assume_role_external_id":{"type":"string","description":"External ID configured in the IAM policy of the IAM Role to assume prior to making AWS API calls.","description_kind":"plain","optional":true},"aws_profile":{"type":"string","description":"The AWS profile for use with AWS opensearch Service domains","description_kind":"plain","optional":true},"aws_region":{"type":"string","description":"The AWS region for use in signing of AWS opensearch requests. Must be specified in order to use AWS URL signing with AWS OpenSearch endpoint exposed on a custom DNS domain.","description_kind":"plain","optional":true},"aws_secret_key":{"type":"string","description":"The secret key for use with AWS opensearch Service domains","description_kind":"plain","optional":true},"aws_signature_service":{"type":"string","description":"AWS service name used in the credential scope of signed requests to opensearch.","description_kind":"plain","optional":true},"aws_token":{"type":"string","description":"The session token for use with AWS opensearch Service domains","description_kind":"plain","optional":true},"cacert_file":{"type":"string","description":"A Custom CA certificate","description_kind":"plain","optional":true},"client_cert_path":{"type":"string","description":"A X509 certificate to connect to opensearch","description_kind":"plain","optional":true},"client_key_path":{"type":"string","description":"A X509 key to connect to opensearch","description_kind":"plain","optional":true},"healthcheck":{"type":"bool","description":"Set the client healthcheck option for the opensearch client. Healthchecking is designed for direct access to the cluster.","description_kind":"plain","optional":true},"host_override":{"type":"string","description":"If provided, sets the 'Host' header of requests and the 'ServerName' for certificate validation to this value. See the documentation on connecting to opensearch via an SSH tunnel.","description_kind":"plain","optional":true},"insecure":{"type":"bool","description":"Disable SSL verification of API calls","description_kind":"plain","optional":true},"opensearch_version":{"type":"string","description":"opensearch Version","description_kind":"plain","optional":true},"password":{"type":"string","description":"Password to use to connect to opensearch using basic auth","description_kind":"plain","optional":true},"proxy":{"type":"string","description":"Proxy URL to use for requests to opensearch.","description_kind":"plain","optional":true},"sign_aws_requests":{"type":"bool","description":"Enable signing of AWS opensearch requests. The `url` must refer to AWS ES domain (`*.\u003cregion\u003e.es.amazonaws.com`), or `aws_region` must be specified explicitly.","description_kind":"plain","optional":true},"sniff":{"type":"bool","description":"Set the node sniffing option for the opensearch client. Client won't work with sniffing if nodes are not routable.","description_kind":"plain","optional":true},"token":{"type":"string","description":"A bearer token or ApiKey for an Authorization header, e.g. Active Directory API key.","description_kind":"plain","optional":true},"token_name":{"type":"string","description":"The type of token, usually ApiKey or Bearer","description_kind":"plain","optional":true},"url":{"type":"string","description":"Opensearch URL","description_kind":"plain","required":true},"username":{"type":"string","description":"Username to use to connect to opensearch using basic auth","description_kind":"plain","optional":true},"version_ping_timeout":{"type":"number","description":"Version ping timeout in seconds","description_kind":"plain","optional":true}},"description_kind":"plain"}},"resource_schemas":{"opensearch_anomaly_detection":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The anomaly detection document","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description":"Provides an OpenSearch anonaly detection. Please refer to the OpenSearch anomaly detection documentation for details.","description_kind":"plain"}},"opensearch_audit_config":{"version":0,"block":{"attributes":{"enabled":{"type":"bool","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"audit":{"nesting_mode":"set","block":{"attributes":{"disabled_rest_categories":{"type":["set","string"],"description_kind":"plain","optional":true},"disabled_transport_categories":{"type":["set","string"],"description_kind":"plain","optional":true},"enable_rest":{"type":"bool","description_kind":"plain","optional":true},"enable_transport":{"type":"bool","description_kind":"plain","optional":true},"exclude_sensitive_headers":{"type":"bool","description_kind":"plain","optional":true},"ignore_requests":{"type":["set","string"],"description_kind":"plain","optional":true},"ignore_users":{"type":["set","string"],"description_kind":"plain","optional":true},"log_request_body":{"type":"bool","description_kind":"plain","optional":true},"resolve_bulk_requests":{"type":"bool","description_kind":"plain","optional":true},"resolve_indices":{"type":"bool","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1},"compliance":{"nesting_mode":"set","block":{"attributes":{"enabled":{"type":"bool","description_kind":"plain","optional":true},"external_config":{"type":"bool","description_kind":"plain","optional":true},"internal_config":{"type":"bool","description_kind":"plain","optional":true},"read_ignore_users":{"type":["set","string"],"description_kind":"plain","optional":true},"read_metadata_only":{"type":"bool","description_kind":"plain","optional":true},"write_ignore_users":{"type":["set","string"],"description_kind":"plain","optional":true},"write_log_diffs":{"type":"bool","description_kind":"plain","optional":true},"write_metadata_only":{"type":"bool","description_kind":"plain","optional":true},"write_watched_indices":{"type":["set","string"],"description_kind":"plain","optional":true}},"block_types":{"read_watched_field":{"nesting_mode":"set","block":{"attributes":{"fields":{"type":["set","string"],"description_kind":"plain","required":true},"index":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"opensearch_channel_configuration":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The channel configuration document","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description":"Provides an OpenSearch channel configuration. Please refer to the OpenSearch channel configuration documentation for details.","description_kind":"plain"}},"opensearch_cluster_settings":{"version":0,"block":{"attributes":{"action_auto_create_index":{"type":"string","description":"Whether to automatically create an index if it doesn’t already exist and apply any configured index template","description_kind":"plain","optional":true},"action_destructive_requires_name":{"type":"bool","description":"When set to true, you must specify the index name to delete an index and it is not possible to delete all indices with _all or use wildcards","description_kind":"plain","optional":true},"cluster_blocks_read_only":{"type":"bool","description":"Make the whole cluster read only and metadata is not allowed to be modified","description_kind":"plain","optional":true},"cluster_blocks_read_only_allow_delete":{"type":"bool","description":"Make the whole cluster read only, but allows to delete indices to free up resources","description_kind":"plain","optional":true},"cluster_indices_close_enable":{"type":"bool","description":"If false, you cannot close open indices","description_kind":"plain","optional":true},"cluster_info_update_interval":{"type":"string","description":"A time string controlling how often OpenSearch should check on disk usage for each node in the cluster","description_kind":"plain","optional":true},"cluster_max_shards_per_node":{"type":"number","description":"The total number of primary and replica shards for the cluster, this number is multiplied by the number of non-frozen data nodes; shards for closed indices do not count toward this limit","description_kind":"plain","optional":true},"cluster_max_shards_per_node_frozen":{"type":"number","description":"The total number of primary and replica frozen shards, for the cluster; Ssards for closed indices do not count toward this limit, a cluster with no frozen data nodes is unlimited.","description_kind":"plain","optional":true},"cluster_no_master_block":{"type":"string","description":"Specifies which operations are rejected when there is no active master in a cluster (all, write)","description_kind":"plain","optional":true},"cluster_persistent_tasks_allocation_enable":{"type":"string","description":"Whether allocation for persistent tasks is active (all, none)","description_kind":"plain","optional":true},"cluster_persistent_tasks_allocation_recheck_interval":{"type":"string","description":"A time string controling how often assignment checks are performed to react to whether persistent tasks can be assigned to nodes","description_kind":"plain","optional":true},"cluster_routing_allocation_allow_rebalance":{"type":"string","description":"Specify when shard rebalancing is allowed (always, indices_primaries_active, indices_all_active)","description_kind":"plain","optional":true},"cluster_routing_allocation_awareness_attributes":{"type":"string","description":"Use custom node attributes to take hardware configuration into account when allocating shards","description_kind":"plain","optional":true},"cluster_routing_allocation_balance_index":{"type":"number","description":"Weight factor for the number of shards per index allocated on a node, increasing this raises the tendency to equalize the number of shards per index across all nodes","description_kind":"plain","optional":true},"cluster_routing_allocation_balance_shard":{"type":"number","description":"Weight factor for the total number of shards allocated on a node, increasing this raises the tendency to equalize the number of shards across all nodes","description_kind":"plain","optional":true},"cluster_routing_allocation_balance_threshold":{"type":"number","description":"Minimal optimization value of operations that should be performed, raising this will cause the cluster to be less aggressive about optimizing the shard balance","description_kind":"plain","optional":true},"cluster_routing_allocation_cluster_concurrent_rebalance":{"type":"number","description":"How many concurrent shard rebalances are allowed cluster wide","description_kind":"plain","optional":true},"cluster_routing_allocation_disk_include_relocations":{"type":"bool","description":"Whether the allocator will take into account shards that are currently being relocated to the target node when computing a node’s disk usage","description_kind":"plain","optional":true},"cluster_routing_allocation_disk_threshold_enabled":{"type":"bool","description":"Whether the disk allocation decider is active","description_kind":"plain","optional":true},"cluster_routing_allocation_disk_watermark_high":{"type":"string","description":"Allocator will attempt to relocate shards away from a node whose disk usage is above this percentage disk used","description_kind":"plain","optional":true},"cluster_routing_allocation_disk_watermark_low":{"type":"string","description":"Allocator will not allocate shards to nodes that have more than this percentage disk used","description_kind":"plain","optional":true},"cluster_routing_allocation_enable":{"type":"string","description":"Enable or disable allocation for specific kinds of shards (all, primaries, new_primaries, none)","description_kind":"plain","optional":true},"cluster_routing_allocation_node_concurrent_incoming_recoveries":{"type":"number","description":"How many incoming recoveries where the target shard (likely the replica unless a shard is relocating) are allocated on the node","description_kind":"plain","optional":true},"cluster_routing_allocation_node_concurrent_outgoing_recoveries":{"type":"number","description":"How many outgoing recoveries where the source shard (likely the primary unless a shard is relocating) are allocated on the node","description_kind":"plain","optional":true},"cluster_routing_allocation_node_concurrent_recoveries":{"type":"number","description":"A shortcut to set both incoming and outgoing recoveries","description_kind":"plain","optional":true},"cluster_routing_allocation_node_initial_primaries_recoveries":{"type":"number","description":"Set a (usually) higher rate for primary recovery on node restart (usually from disk, so fast)","description_kind":"plain","optional":true},"cluster_routing_allocation_same_shard_host":{"type":"bool","description":"Perform a check to prevent allocation of multiple instances of the same shard on a single host, if multiple nodes are started on the host","description_kind":"plain","optional":true},"cluster_routing_allocation_total_shards_per_node":{"type":"number","description":"Maximum number of primary and replica shards allocated to each node","description_kind":"plain","optional":true},"cluster_routing_rebalance_enable":{"type":"string","description":"Allow rebalancing for specific kinds of shards (all, primaries, replicas, none)","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"indices_breaker_fielddata_limit":{"type":"string","description":"The percentage of memory above which if loading a field into the field data cache would cause the cache to exceed this limit, an error is returned","description_kind":"plain","optional":true},"indices_breaker_fielddata_overhead":{"type":"number","description":"A constant that all field data estimations are multiplied by","description_kind":"plain","optional":true},"indices_breaker_request_limit":{"type":"string","description":"The percentabge of memory above which per-request data structures (e.g. calculating aggregations) are prevented from exceeding","description_kind":"plain","optional":true},"indices_breaker_request_overhead":{"type":"number","description":"A constant that all request estimations are multiplied by","description_kind":"plain","optional":true},"indices_breaker_total_limit":{"type":"string","description":"The percentage of total amount of memory that can be used across all breakers","description_kind":"plain","optional":true},"indices_recovery_max_bytes_per_sec":{"type":"string","description":"Maximum total inbound and outbound recovery traffic for each node, in mb","description_kind":"plain","optional":true},"network_breaker_inflight_requests_limit":{"type":"string","description":"The percentage limit of memory usage on a node of all currently active incoming requests on transport or HTTP level","description_kind":"plain","optional":true},"network_breaker_inflight_requests_overhead":{"type":"number","description":"A constant that all in flight requests estimations are multiplied by","description_kind":"plain","optional":true},"script_max_compilations_rate":{"type":"string","description":"Limit for the number of unique dynamic scripts within a certain interval that are allowed to be compiled, expressed as compilations divided by a time string","description_kind":"plain","optional":true},"search_default_search_timeout":{"type":"string","description":"A time string setting a cluster-wide default timeout for all search requests","description_kind":"plain","optional":true}},"description":"Manages a cluster's (persistent) settings.","description_kind":"plain"}},"opensearch_component_template":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The JSON body of the template.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the component template to create.","description_kind":"plain","required":true}},"description":"Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. You cannot directly apply a component template to a data stream or index. To be applied, a component template must be included in an index template’s `composed_of` list.","description_kind":"plain"}},"opensearch_composable_index_template":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The JSON body of the index template.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the index template.","description_kind":"plain","required":true}},"description":"Provides an Composable index template resource. This resource uses the `/_index_template` endpoint of the API that is available since version 2.0.0. Use `opensearch_index_template` if you are using older versions or if you want to keep using legacy Index Templates.","description_kind":"plain"}},"opensearch_dashboard_object":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The JSON body of the dashboard object.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"index":{"type":"string","description":"The name of the index where dashboard data is stored.","description_kind":"plain","optional":true}},"description":"Provides an OpenSearch Dashboards object resource. This resource interacts directly with the underlying OpenSearch index backing Dashboards, so the format must match what Dashboards the version of Dashboards is expecting. Dashboards with older versions - directly pulling the JSON from a Dashboards index of the same version of OpenSearch targeted by the provider is a workaround.","description_kind":"plain"}},"opensearch_dashboard_tenant":{"version":0,"block":{"attributes":{"description":{"type":"string","description":"Description of the tenant.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"index":{"type":"string","description_kind":"plain","computed":true},"tenant_name":{"type":"string","description":"The name of the tenant.","description_kind":"plain","required":true}},"description":"Provides an OpenSearch dashboard tenant resource. Please refer to the OpenSearch documentation for details.","description_kind":"plain"}},"opensearch_data_stream":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the data stream to create, must have a matching ","description_kind":"plain","required":true}},"description":"A data stream lets you store append-only time series data across multiple (hidden, auto-generated) indices while giving you a single named resource for requests","description_kind":"plain"}},"opensearch_index":{"version":0,"block":{"attributes":{"aliases":{"type":"string","description":"A JSON string describing a set of aliases. The index aliases API allows aliasing an index with a name, with all APIs automatically converting the alias name to the actual index name. An alias can also be mapped to more than one index, and when specifying it, the alias will automatically expand to the aliased indices.","description_kind":"plain","optional":true},"analysis_analyzer":{"type":"string","description":"A JSON string describing the analyzers applied to the index.","description_kind":"plain","optional":true},"analysis_char_filter":{"type":"string","description":"A JSON string describing the char_filters applied to the index.","description_kind":"plain","optional":true},"analysis_filter":{"type":"string","description":"A JSON string describing the filters applied to the index.","description_kind":"plain","optional":true},"analysis_normalizer":{"type":"string","description":"A JSON string describing the normalizers applied to the index.","description_kind":"plain","optional":true},"analysis_tokenizer":{"type":"string","description":"A JSON string describing the tokenizers applied to the index.","description_kind":"plain","optional":true},"analyze_max_token_count":{"type":"string","description":"The maximum number of tokens that can be produced using _analyze API. A stringified number.","description_kind":"plain","optional":true},"auto_expand_replicas":{"type":"string","description":"Set the number of replicas to the node count in the cluster. Set to a dash delimited lower and upper bound (e.g. 0-5) or use all for the upper bound (e.g. 0-all)","description_kind":"plain","optional":true},"blocks_metadata":{"type":"bool","description":"Set to `true` to disable index metadata reads and writes.","description_kind":"plain","optional":true},"blocks_read":{"type":"bool","description":"Set to `true` to disable read operations against the index.","description_kind":"plain","optional":true},"blocks_read_only":{"type":"bool","description":"Set to `true` to make the index and index metadata read only, `false` to allow writes and metadata changes.","description_kind":"plain","optional":true},"blocks_read_only_allow_delete":{"type":"bool","description":"Identical to `index.blocks.read_only` but allows deleting the index to free up resources.","description_kind":"plain","optional":true},"blocks_write":{"type":"bool","description":"Set to `true` to disable data write operations against the index. This setting does not affect metadata.","description_kind":"plain","optional":true},"codec":{"type":"string","description":"The `default` value compresses stored data with LZ4 compression, but this can be set to `best_compression` which uses DEFLATE for a higher compression ratio. This can be set only on creation.","description_kind":"plain","optional":true},"default_pipeline":{"type":"string","description":"The default ingest node pipeline for this index. Index requests will fail if the default pipeline is set and the pipeline does not exist.","description_kind":"plain","optional":true},"force_destroy":{"type":"bool","description":"A boolean that indicates that the index should be deleted even if it contains documents.","description_kind":"plain","optional":true},"gc_deletes":{"type":"string","description":"The length of time that a deleted document's version number remains available for further versioned operations.","description_kind":"plain","optional":true},"highlight_max_analyzed_offset":{"type":"string","description":"The maximum number of characters that will be analyzed for a highlight request. A stringified number.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"include_type_name":{"type":"string","description":"A string that indicates if and what we should pass to include_type_name parameter. Set to `\"false\"` when trying to create an index on a v6 cluster without a doc type or set to `\"true\"` when trying to create an index on a v7 cluster with a doc type. Since mapping updates are not currently supported, this applies only on index create.","description_kind":"plain","optional":true},"index_knn":{"type":"bool","description":"Indicates whether the index should build native library indices for the knn_vector fields. If set to false, the knn_vector fields will be stored in doc values, but Approximate k-NN search functionality will be disabled.","description_kind":"plain","optional":true},"index_knn_algo_param_ef_search":{"type":"string","description":"The size of the dynamic list used during k-NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib.","description_kind":"plain","optional":true},"index_similarity_default":{"type":"string","description":"A JSON string describing the default index similarity config.","description_kind":"plain","optional":true},"indexing_slowlog_level":{"type":"string","description":"Set which logging level to use for the search slow log, can be: `warn`, `info`, `debug`, `trace`","description_kind":"plain","optional":true},"indexing_slowlog_source":{"type":"string","description":"Set the number of characters of the `_source` to include in the slowlog lines, `false` or `0` will skip logging the source entirely and setting it to `true` will log the entire source regardless of size. The original `_source` is reformatted by default to make sure that it fits on a single log line.","description_kind":"plain","optional":true},"indexing_slowlog_threshold_index_debug":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g. `2s`","description_kind":"plain","optional":true},"indexing_slowlog_threshold_index_info":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g. `5s`","description_kind":"plain","optional":true},"indexing_slowlog_threshold_index_trace":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g. `500ms`","description_kind":"plain","optional":true},"indexing_slowlog_threshold_index_warn":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g. `10s`","description_kind":"plain","optional":true},"load_fixed_bitset_filters_eagerly":{"type":"bool","description":"Indicates whether cached filters are pre-loaded for nested queries. This can be set only on creation.","description_kind":"plain","optional":true},"mappings":{"type":"string","description":"A JSON string defining how documents in the index, and the fields they contain, are stored and indexed. To avoid the complexities of field mapping updates, updates of this field are not allowed via this provider.","description_kind":"plain","optional":true},"max_docvalue_fields_search":{"type":"string","description":"The maximum number of `docvalue_fields` that are allowed in a query. A stringified number.","description_kind":"plain","optional":true},"max_inner_result_window":{"type":"string","description":"The maximum value of `from + size` for inner hits definition and top hits aggregations to this index. A stringified number.","description_kind":"plain","optional":true},"max_ngram_diff":{"type":"string","description":"The maximum allowed difference between min_gram and max_gram for NGramTokenizer and NGramTokenFilter. A stringified number.","description_kind":"plain","optional":true},"max_refresh_listeners":{"type":"string","description":"Maximum number of refresh listeners available on each shard of the index. A stringified number.","description_kind":"plain","optional":true},"max_regex_length":{"type":"string","description":"The maximum length of regex that can be used in Regexp Query. A stringified number.","description_kind":"plain","optional":true},"max_rescore_window":{"type":"string","description":"The maximum value of `window_size` for `rescore` requests in searches of this index. A stringified number.","description_kind":"plain","optional":true},"max_result_window":{"type":"string","description":"The maximum value of `from + size` for searches to this index. A stringified number.","description_kind":"plain","optional":true},"max_script_fields":{"type":"string","description":"The maximum number of `script_fields` that are allowed in a query. A stringified number.","description_kind":"plain","optional":true},"max_shingle_diff":{"type":"string","description":"The maximum allowed difference between max_shingle_size and min_shingle_size for ShingleTokenFilter. A stringified number.","description_kind":"plain","optional":true},"max_terms_count":{"type":"string","description":"The maximum number of terms that can be used in Terms Query. A stringified number.","description_kind":"plain","optional":true},"name":{"type":"string","description":"Name of the index to create","description_kind":"plain","required":true},"number_of_replicas":{"type":"string","description":"Number of shard replicas. A stringified number.","description_kind":"plain","optional":true,"computed":true},"number_of_routing_shards":{"type":"string","description":"Value used with number_of_shards to route documents to a primary shard. A stringified number. This can be set only on creation.","description_kind":"plain","optional":true},"number_of_shards":{"type":"string","description":"Number of shards for the index. This can be set only on creation.","description_kind":"plain","optional":true,"computed":true},"refresh_interval":{"type":"string","description":"How often to perform a refresh operation, which makes recent changes to the index visible to search. Can be set to `-1` to disable refresh.","description_kind":"plain","optional":true},"rollover_alias":{"type":"string","description_kind":"plain","optional":true,"computed":true},"routing_allocation_enable":{"type":"string","description":"Controls shard allocation for this index. It can be set to: `all` , `primaries` , `new_primaries` , `none`.","description_kind":"plain","optional":true},"routing_partition_size":{"type":"string","description":"The number of shards a custom routing value can go to. A stringified number. This can be set only on creation.","description_kind":"plain","optional":true},"routing_rebalance_enable":{"type":"string","description":"Enables shard rebalancing for this index. It can be set to: `all`, `primaries` , `replicas` , `none`.","description_kind":"plain","optional":true},"search_idle_after":{"type":"string","description":"How long a shard can not receive a search or get request until it’s considered search idle.","description_kind":"plain","optional":true},"search_slowlog_level":{"type":"string","description":"Set which logging level to use for the search slow log, can be: `warn`, `info`, `debug`, `trace`","description_kind":"plain","optional":true},"search_slowlog_threshold_fetch_debug":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g. `2s`","description_kind":"plain","optional":true},"search_slowlog_threshold_fetch_info":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g. `5s`","description_kind":"plain","optional":true},"search_slowlog_threshold_fetch_trace":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g. `500ms`","description_kind":"plain","optional":true},"search_slowlog_threshold_fetch_warn":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g. `10s`","description_kind":"plain","optional":true},"search_slowlog_threshold_query_debug":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g. `2s`","description_kind":"plain","optional":true},"search_slowlog_threshold_query_info":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g. `5s`","description_kind":"plain","optional":true},"search_slowlog_threshold_query_trace":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g. `500ms`","description_kind":"plain","optional":true},"search_slowlog_threshold_query_warn":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g. `10s`","description_kind":"plain","optional":true},"shard_check_on_startup":{"type":"string","description":"Whether or not shards should be checked for corruption before opening. When corruption is detected, it will prevent the shard from being opened. Accepts `false`, `true`, `checksum`.","description_kind":"plain","optional":true},"sort_field":{"type":"string","description":"The field to sort shards in this index by.","description_kind":"plain","optional":true},"sort_order":{"type":"string","description":"The direction to sort shards in. Accepts `asc`, `desc`.","description_kind":"plain","optional":true}},"description":"Provides an OpenSearch index resource.","description_kind":"plain"}},"opensearch_index_template":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The JSON body of the index template.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the index template.","description_kind":"plain","required":true}},"description":"Provides an Opensearch index template resource.","description_kind":"plain"}},"opensearch_ingest_pipeline":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The JSON body of the ingest pipeline","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the ingest pipeline","description_kind":"plain","required":true}},"description":"Provides an OpenSearch ingest pipeline resource.","description_kind":"plain"}},"opensearch_ism_policy":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The policy document.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"policy_id":{"type":"string","description":"The id of the ISM policy.","description_kind":"plain","required":true},"primary_term":{"type":"number","description":"The primary term of the ISM policy version.","description_kind":"plain","optional":true,"computed":true},"seq_no":{"type":"number","description":"The sequence number of the ISM policy version.","description_kind":"plain","optional":true,"computed":true}},"description":"Provides an OpenSearch Index State Management (ISM) policy. Please refer to the OpenSearch ISM documentation for details.","description_kind":"plain"}},"opensearch_ism_policy_mapping":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"include":{"type":["set",["map","string"]],"description":"When updating multiple indices, you might want to include a state filter to only affect certain managed indices. The background process only applies the change if the index is currently in the state specified.","description_kind":"plain","optional":true},"indexes":{"type":"string","description":"Name of the index to apply the policy to. You can use an index pattern to update multiple indices at once.","description_kind":"plain","required":true},"is_safe":{"type":"bool","description_kind":"plain","optional":true},"managed_indexes":{"type":["set","string"],"description_kind":"plain","optional":true,"computed":true},"policy_id":{"type":"string","description":"The name of the policy.","description_kind":"plain","required":true},"state":{"type":"string","description":"After a change in policy takes place, specify the state for the index to transition to","description_kind":"plain","optional":true}},"block_types":{"timeouts":{"nesting_mode":"single","block":{"attributes":{"create":{"type":"string","description_kind":"plain","optional":true},"update":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description":"Provides an OpenSearch Index State Management (ISM) policy. Please refer to the OpenSearch ISM documentation for details.","description_kind":"plain","deprecated":true}},"opensearch_monitor":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The monitor document","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description":"Provides an OpenSearch monitor. Please refer to the OpenSearch monitor documentation for details.","description_kind":"plain"}},"opensearch_role":{"version":0,"block":{"attributes":{"cluster_permissions":{"type":["set","string"],"description":"A list of cluster permissions.","description_kind":"plain","optional":true},"description":{"type":"string","description":"Description of the role.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"role_name":{"type":"string","description":"The name of the security role.","description_kind":"plain","required":true}},"block_types":{"index_permissions":{"nesting_mode":"set","block":{"attributes":{"allowed_actions":{"type":["set","string"],"description":"A list of allowed actions.","description_kind":"plain","optional":true},"document_level_security":{"type":"string","description":"A selector for document-level security (json formatted using jsonencode).","description_kind":"plain","optional":true},"field_level_security":{"type":["set","string"],"description":"A list of selectors for field-level security.","description_kind":"plain","optional":true},"index_patterns":{"type":["set","string"],"description":"A list of glob patterns for the index names.","description_kind":"plain","optional":true},"masked_fields":{"type":["set","string"],"description":"A list of masked fields","description_kind":"plain","optional":true}},"description":"A configuration of index permissions","description_kind":"plain"}},"tenant_permissions":{"nesting_mode":"set","block":{"attributes":{"allowed_actions":{"type":["set","string"],"description":"A list of allowed actions.","description_kind":"plain","optional":true},"tenant_patterns":{"type":["set","string"],"description":"A list of glob patterns for the tenant names","description_kind":"plain","optional":true}},"description":"A configuration of tenant permissions","description_kind":"plain"}}},"description":"Provides an OpenSearch security role resource. Please refer to the OpenSearch Access Control documentation for details.","description_kind":"plain"}},"opensearch_roles_mapping":{"version":0,"block":{"attributes":{"and_backend_roles":{"type":["set","string"],"description":"A list of backend roles.","description_kind":"plain","optional":true},"backend_roles":{"type":["set","string"],"description":"A list of backend roles.","description_kind":"plain","optional":true},"description":{"type":"string","description":"Description of the role mapping.","description_kind":"plain","optional":true},"hosts":{"type":["set","string"],"description":"A list of host names.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"role_name":{"type":"string","description":"The name of the security role.","description_kind":"plain","required":true},"users":{"type":["set","string"],"description":"A list of users.","description_kind":"plain","optional":true}},"description":"Provides an OpenSearch security role mapping. Please refer to the OpenSearch Access Control documentation for details.","description_kind":"plain"}},"opensearch_script":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"lang":{"type":"string","description":"Specifies the language the script is written in. Defaults to painless.","description_kind":"plain","optional":true},"script_id":{"type":"string","description":"Identifier for the stored script. Must be unique within the cluster.","description_kind":"plain","required":true},"source":{"type":"string","description":"The source of the stored script","description_kind":"plain","required":true}},"description":"Provides an OpenSearch script resource.","description_kind":"plain"}},"opensearch_sm_policy":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The policy document.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"policy_name":{"type":"string","description":"The name of the SM policy.","description_kind":"plain","required":true},"primary_term":{"type":"number","description":"The primary term of the SM policy version.","description_kind":"plain","optional":true,"computed":true},"seq_no":{"type":"number","description":"The sequence number of the SM policy version.","description_kind":"plain","optional":true,"computed":true}},"description":"Provides an OpenSearch Snapshot Management (SM) policy. Please refer to the OpenSearch SM documentation for details.","description_kind":"plain"}},"opensearch_snapshot_repository":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the repository.","description_kind":"plain","required":true},"settings":{"type":["map","string"],"description":"The settings map applicable for the backend, see official documentation for plugins.","description_kind":"plain","optional":true},"type":{"type":"string","description":"The name of the repository backend (required plugins must be installed).","description_kind":"plain","required":true}},"description":"Provides an OpenSearch snapshot repository resource.","description_kind":"plain"}},"opensearch_user":{"version":0,"block":{"attributes":{"attributes":{"type":["map","string"],"description":"A map of arbitrary key value string pairs stored alongside of users.","description_kind":"plain","optional":true},"backend_roles":{"type":["set","string"],"description":"A list of backend roles.","description_kind":"plain","optional":true},"description":{"type":"string","description":"Description of the user.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"password":{"type":"string","description":"The plain text password for the user, cannot be specified with `password_hash`. Some implementations may enforce a password policy. Invalid passwords may cause a non-descriptive HTTP 400 Bad Request error. For AWS OpenSearch domains \"password must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one digit, and one special character\".","description_kind":"plain","optional":true,"sensitive":true},"password_hash":{"type":"string","description":"The pre-hashed password for the user, cannot be specified with `password`.","description_kind":"plain","optional":true,"sensitive":true},"username":{"type":"string","description":"The name of the security user.","description_kind":"plain","required":true}},"description":"Provides an OpenSearch security user. Please refer to the OpenSearch Access Control documentation for details.","description_kind":"plain"}}},"data_source_schemas":{"opensearch_host":{"version":0,"block":{"attributes":{"active":{"type":"bool","description":"should be set to `true`","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"url":{"type":"string","description":"the url of the active cluster","description_kind":"plain","computed":true}},"description":"`opensearch_host` can be used to retrieve the host URL for the provider's current cluster.","description_kind":"plain"}}}}}} +{"format_version":"1.0","provider_schemas":{"registry.terraform.io/opensearch-project/opensearch":{"provider":{"version":0,"block":{"attributes":{"aws_access_key":{"type":"string","description":"The access key for use with AWS OpenSearch Service domains","description_kind":"plain","optional":true},"aws_assume_role_arn":{"type":"string","description":"Amazon Resource Name of an IAM Role to assume prior to making AWS API calls.","description_kind":"plain","optional":true},"aws_assume_role_external_id":{"type":"string","description":"External ID configured in the IAM policy of the IAM Role to assume prior to making AWS API calls.","description_kind":"plain","optional":true},"aws_profile":{"type":"string","description":"The AWS profile for use with AWS OpenSearch Service domains","description_kind":"plain","optional":true},"aws_region":{"type":"string","description":"The AWS region for use in signing of AWS OpenSearch requests. Must be specified in order to use AWS URL signing with AWS OpenSearch endpoint exposed on a custom DNS domain.","description_kind":"plain","optional":true},"aws_secret_key":{"type":"string","description":"The secret key for use with AWS OpenSearch Service domains","description_kind":"plain","optional":true},"aws_signature_service":{"type":"string","description":"AWS service name used in the credential scope of signed requests to OpenSearch.","description_kind":"plain","optional":true},"aws_token":{"type":"string","description":"The session token for use with AWS OpenSearch Service domains","description_kind":"plain","optional":true},"cacert_file":{"type":"string","description":"A Custom CA certificate","description_kind":"plain","optional":true},"client_cert_path":{"type":"string","description":"A X509 certificate to connect to OpenSearch","description_kind":"plain","optional":true},"client_key_path":{"type":"string","description":"A X509 key to connect to OpenSearch","description_kind":"plain","optional":true},"healthcheck":{"type":"bool","description":"Set the client healthcheck option for the OpenSearch client. Healthchecking is designed for direct access to the cluster.","description_kind":"plain","optional":true},"host_override":{"type":"string","description":"If provided, sets the 'Host' header of requests and the 'ServerName' for certificate validation to this value. See the documentation on connecting to OpenSearch via an SSH tunnel.","description_kind":"plain","optional":true},"insecure":{"type":"bool","description":"Disable SSL verification of API calls","description_kind":"plain","optional":true},"opensearch_version":{"type":"string","description":"OpenSearch Version","description_kind":"plain","optional":true},"password":{"type":"string","description":"Password to use to connect to OpenSearch using basic auth","description_kind":"plain","optional":true},"proxy":{"type":"string","description":"Proxy URL to use for requests to OpenSearch.","description_kind":"plain","optional":true},"sign_aws_requests":{"type":"bool","description":"Enable signing of AWS OpenSearch requests. The `url` must refer to AWS ES domain (`*.\u003cregion\u003e.es.amazonaws.com`), or `aws_region` must be specified explicitly.","description_kind":"plain","optional":true},"sniff":{"type":"bool","description":"Set the node sniffing option for the OpenSearch client. Client won't work with sniffing if nodes are not routable.","description_kind":"plain","optional":true},"token":{"type":"string","description":"A bearer token or ApiKey for an Authorization header, e.g. Active Directory API key.","description_kind":"plain","optional":true},"token_name":{"type":"string","description":"The type of token, usually ApiKey or Bearer","description_kind":"plain","optional":true},"url":{"type":"string","description":"OpenSearch URL","description_kind":"plain","required":true},"username":{"type":"string","description":"Username to use to connect to OpenSearch using basic auth","description_kind":"plain","optional":true},"version_ping_timeout":{"type":"number","description":"Version ping timeout in seconds","description_kind":"plain","optional":true}},"description_kind":"plain"}},"resource_schemas":{"opensearch_anomaly_detection":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The anomaly detection document","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description":"Provides an OpenSearch anonaly detection. Please refer to the OpenSearch anomaly detection documentation for details.","description_kind":"plain"}},"opensearch_audit_config":{"version":0,"block":{"attributes":{"enabled":{"type":"bool","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"audit":{"nesting_mode":"set","block":{"attributes":{"disabled_rest_categories":{"type":["set","string"],"description_kind":"plain","optional":true},"disabled_transport_categories":{"type":["set","string"],"description_kind":"plain","optional":true},"enable_rest":{"type":"bool","description_kind":"plain","optional":true},"enable_transport":{"type":"bool","description_kind":"plain","optional":true},"exclude_sensitive_headers":{"type":"bool","description_kind":"plain","optional":true},"ignore_requests":{"type":["set","string"],"description_kind":"plain","optional":true},"ignore_users":{"type":["set","string"],"description_kind":"plain","optional":true},"log_request_body":{"type":"bool","description_kind":"plain","optional":true},"resolve_bulk_requests":{"type":"bool","description_kind":"plain","optional":true},"resolve_indices":{"type":"bool","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1},"compliance":{"nesting_mode":"set","block":{"attributes":{"enabled":{"type":"bool","description_kind":"plain","optional":true},"external_config":{"type":"bool","description_kind":"plain","optional":true},"internal_config":{"type":"bool","description_kind":"plain","optional":true},"read_ignore_users":{"type":["set","string"],"description_kind":"plain","optional":true},"read_metadata_only":{"type":"bool","description_kind":"plain","optional":true},"write_ignore_users":{"type":["set","string"],"description_kind":"plain","optional":true},"write_log_diffs":{"type":"bool","description_kind":"plain","optional":true},"write_metadata_only":{"type":"bool","description_kind":"plain","optional":true},"write_watched_indices":{"type":["set","string"],"description_kind":"plain","optional":true}},"block_types":{"read_watched_field":{"nesting_mode":"set","block":{"attributes":{"fields":{"type":["set","string"],"description_kind":"plain","required":true},"index":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"opensearch_channel_configuration":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The channel configuration document","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description":"Provides an OpenSearch channel configuration. Please refer to the OpenSearch channel configuration documentation for details.","description_kind":"plain"}},"opensearch_cluster_settings":{"version":0,"block":{"attributes":{"action_auto_create_index":{"type":"string","description":"Whether to automatically create an index if it doesn’t already exist and apply any configured index template","description_kind":"plain","optional":true},"action_destructive_requires_name":{"type":"bool","description":"When set to true, you must specify the index name to delete an index and it is not possible to delete all indices with _all or use wildcards","description_kind":"plain","optional":true},"cluster_blocks_read_only":{"type":"bool","description":"Make the whole cluster read only and metadata is not allowed to be modified","description_kind":"plain","optional":true},"cluster_blocks_read_only_allow_delete":{"type":"bool","description":"Make the whole cluster read only, but allows to delete indices to free up resources","description_kind":"plain","optional":true},"cluster_indices_close_enable":{"type":"bool","description":"If false, you cannot close open indices","description_kind":"plain","optional":true},"cluster_info_update_interval":{"type":"string","description":"A time string controlling how often OpenSearch should check on disk usage for each node in the cluster","description_kind":"plain","optional":true},"cluster_max_shards_per_node":{"type":"number","description":"The total number of primary and replica shards for the cluster, this number is multiplied by the number of non-frozen data nodes; shards for closed indices do not count toward this limit","description_kind":"plain","optional":true},"cluster_max_shards_per_node_frozen":{"type":"number","description":"The total number of primary and replica frozen shards, for the cluster; Ssards for closed indices do not count toward this limit, a cluster with no frozen data nodes is unlimited.","description_kind":"plain","optional":true},"cluster_no_master_block":{"type":"string","description":"Specifies which operations are rejected when there is no active master in a cluster (all, write)","description_kind":"plain","optional":true},"cluster_persistent_tasks_allocation_enable":{"type":"string","description":"Whether allocation for persistent tasks is active (all, none)","description_kind":"plain","optional":true},"cluster_persistent_tasks_allocation_recheck_interval":{"type":"string","description":"A time string controling how often assignment checks are performed to react to whether persistent tasks can be assigned to nodes","description_kind":"plain","optional":true},"cluster_routing_allocation_allow_rebalance":{"type":"string","description":"Specify when shard rebalancing is allowed (always, indices_primaries_active, indices_all_active)","description_kind":"plain","optional":true},"cluster_routing_allocation_awareness_attributes":{"type":"string","description":"Use custom node attributes to take hardware configuration into account when allocating shards","description_kind":"plain","optional":true},"cluster_routing_allocation_balance_index":{"type":"number","description":"Weight factor for the number of shards per index allocated on a node, increasing this raises the tendency to equalize the number of shards per index across all nodes","description_kind":"plain","optional":true},"cluster_routing_allocation_balance_shard":{"type":"number","description":"Weight factor for the total number of shards allocated on a node, increasing this raises the tendency to equalize the number of shards across all nodes","description_kind":"plain","optional":true},"cluster_routing_allocation_balance_threshold":{"type":"number","description":"Minimal optimization value of operations that should be performed, raising this will cause the cluster to be less aggressive about optimizing the shard balance","description_kind":"plain","optional":true},"cluster_routing_allocation_cluster_concurrent_rebalance":{"type":"number","description":"How many concurrent shard rebalances are allowed cluster wide","description_kind":"plain","optional":true},"cluster_routing_allocation_disk_include_relocations":{"type":"bool","description":"Whether the allocator will take into account shards that are currently being relocated to the target node when computing a node’s disk usage","description_kind":"plain","optional":true},"cluster_routing_allocation_disk_threshold_enabled":{"type":"bool","description":"Whether the disk allocation decider is active","description_kind":"plain","optional":true},"cluster_routing_allocation_disk_watermark_high":{"type":"string","description":"Allocator will attempt to relocate shards away from a node whose disk usage is above this percentage disk used","description_kind":"plain","optional":true},"cluster_routing_allocation_disk_watermark_low":{"type":"string","description":"Allocator will not allocate shards to nodes that have more than this percentage disk used","description_kind":"plain","optional":true},"cluster_routing_allocation_enable":{"type":"string","description":"Enable or disable allocation for specific kinds of shards (all, primaries, new_primaries, none)","description_kind":"plain","optional":true},"cluster_routing_allocation_node_concurrent_incoming_recoveries":{"type":"number","description":"How many incoming recoveries where the target shard (likely the replica unless a shard is relocating) are allocated on the node","description_kind":"plain","optional":true},"cluster_routing_allocation_node_concurrent_outgoing_recoveries":{"type":"number","description":"How many outgoing recoveries where the source shard (likely the primary unless a shard is relocating) are allocated on the node","description_kind":"plain","optional":true},"cluster_routing_allocation_node_concurrent_recoveries":{"type":"number","description":"A shortcut to set both incoming and outgoing recoveries","description_kind":"plain","optional":true},"cluster_routing_allocation_node_initial_primaries_recoveries":{"type":"number","description":"Set a (usually) higher rate for primary recovery on node restart (usually from disk, so fast)","description_kind":"plain","optional":true},"cluster_routing_allocation_same_shard_host":{"type":"bool","description":"Perform a check to prevent allocation of multiple instances of the same shard on a single host, if multiple nodes are started on the host","description_kind":"plain","optional":true},"cluster_routing_allocation_total_shards_per_node":{"type":"number","description":"Maximum number of primary and replica shards allocated to each node","description_kind":"plain","optional":true},"cluster_routing_rebalance_enable":{"type":"string","description":"Allow rebalancing for specific kinds of shards (all, primaries, replicas, none)","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"indices_breaker_fielddata_limit":{"type":"string","description":"The percentage of memory above which if loading a field into the field data cache would cause the cache to exceed this limit, an error is returned","description_kind":"plain","optional":true},"indices_breaker_fielddata_overhead":{"type":"number","description":"A constant that all field data estimations are multiplied by","description_kind":"plain","optional":true},"indices_breaker_request_limit":{"type":"string","description":"The percentabge of memory above which per-request data structures (e.g. calculating aggregations) are prevented from exceeding","description_kind":"plain","optional":true},"indices_breaker_request_overhead":{"type":"number","description":"A constant that all request estimations are multiplied by","description_kind":"plain","optional":true},"indices_breaker_total_limit":{"type":"string","description":"The percentage of total amount of memory that can be used across all breakers","description_kind":"plain","optional":true},"indices_recovery_max_bytes_per_sec":{"type":"string","description":"Maximum total inbound and outbound recovery traffic for each node, in mb","description_kind":"plain","optional":true},"network_breaker_inflight_requests_limit":{"type":"string","description":"The percentage limit of memory usage on a node of all currently active incoming requests on transport or HTTP level","description_kind":"plain","optional":true},"network_breaker_inflight_requests_overhead":{"type":"number","description":"A constant that all in flight requests estimations are multiplied by","description_kind":"plain","optional":true},"script_max_compilations_rate":{"type":"string","description":"Limit for the number of unique dynamic scripts within a certain interval that are allowed to be compiled, expressed as compilations divided by a time string","description_kind":"plain","optional":true},"search_default_search_timeout":{"type":"string","description":"A time string setting a cluster-wide default timeout for all search requests","description_kind":"plain","optional":true}},"description":"Manages a cluster's (persistent) settings.","description_kind":"plain"}},"opensearch_component_template":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The JSON body of the template.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the component template to create.","description_kind":"plain","required":true}},"description":"Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. You cannot directly apply a component template to a data stream or index. To be applied, a component template must be included in an index template’s `composed_of` list.","description_kind":"plain"}},"opensearch_composable_index_template":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The JSON body of the index template.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the index template.","description_kind":"plain","required":true}},"description":"Provides an Composable index template resource. This resource uses the `/_index_template` endpoint of the API that is available since version 2.0.0. Use `opensearch_index_template` if you are using older versions or if you want to keep using legacy Index Templates.","description_kind":"plain"}},"opensearch_dashboard_object":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The JSON body of the dashboard object.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"index":{"type":"string","description":"The name of the index where dashboard data is stored.","description_kind":"plain","optional":true}},"description":"Provides an OpenSearch Dashboards object resource. This resource interacts directly with the underlying OpenSearch index backing Dashboards, so the format must match what Dashboards the version of Dashboards is expecting. Dashboards with older versions - directly pulling the JSON from a Dashboards index of the same version of OpenSearch targeted by the provider is a workaround.","description_kind":"plain"}},"opensearch_dashboard_tenant":{"version":0,"block":{"attributes":{"description":{"type":"string","description":"Description of the tenant.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"index":{"type":"string","description_kind":"plain","computed":true},"tenant_name":{"type":"string","description":"The name of the tenant.","description_kind":"plain","required":true}},"description":"Provides an OpenSearch dashboard tenant resource. Please refer to the OpenSearch documentation for details.","description_kind":"plain"}},"opensearch_data_stream":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the data stream to create, must have a matching ","description_kind":"plain","required":true}},"description":"A data stream lets you store append-only time series data across multiple (hidden, auto-generated) indices while giving you a single named resource for requests","description_kind":"plain"}},"opensearch_index":{"version":0,"block":{"attributes":{"aliases":{"type":"string","description":"A JSON string describing a set of aliases. The index aliases API allows aliasing an index with a name, with all APIs automatically converting the alias name to the actual index name. An alias can also be mapped to more than one index, and when specifying it, the alias will automatically expand to the aliased indices.","description_kind":"plain","optional":true},"analysis_analyzer":{"type":"string","description":"A JSON string describing the analyzers applied to the index.","description_kind":"plain","optional":true},"analysis_char_filter":{"type":"string","description":"A JSON string describing the char_filters applied to the index.","description_kind":"plain","optional":true},"analysis_filter":{"type":"string","description":"A JSON string describing the filters applied to the index.","description_kind":"plain","optional":true},"analysis_normalizer":{"type":"string","description":"A JSON string describing the normalizers applied to the index.","description_kind":"plain","optional":true},"analysis_tokenizer":{"type":"string","description":"A JSON string describing the tokenizers applied to the index.","description_kind":"plain","optional":true},"analyze_max_token_count":{"type":"string","description":"The maximum number of tokens that can be produced using _analyze API. A stringified number.","description_kind":"plain","optional":true},"auto_expand_replicas":{"type":"string","description":"Set the number of replicas to the node count in the cluster. Set to a dash delimited lower and upper bound (e.g. 0-5) or use all for the upper bound (e.g. 0-all)","description_kind":"plain","optional":true},"blocks_metadata":{"type":"bool","description":"Set to `true` to disable index metadata reads and writes.","description_kind":"plain","optional":true},"blocks_read":{"type":"bool","description":"Set to `true` to disable read operations against the index.","description_kind":"plain","optional":true},"blocks_read_only":{"type":"bool","description":"Set to `true` to make the index and index metadata read only, `false` to allow writes and metadata changes.","description_kind":"plain","optional":true},"blocks_read_only_allow_delete":{"type":"bool","description":"Identical to `index.blocks.read_only` but allows deleting the index to free up resources.","description_kind":"plain","optional":true},"blocks_write":{"type":"bool","description":"Set to `true` to disable data write operations against the index. This setting does not affect metadata.","description_kind":"plain","optional":true},"codec":{"type":"string","description":"The `default` value compresses stored data with LZ4 compression, but this can be set to `best_compression` which uses DEFLATE for a higher compression ratio. This can be set only on creation.","description_kind":"plain","optional":true},"default_pipeline":{"type":"string","description":"The default ingest node pipeline for this index. Index requests will fail if the default pipeline is set and the pipeline does not exist.","description_kind":"plain","optional":true},"force_destroy":{"type":"bool","description":"A boolean that indicates that the index should be deleted even if it contains documents.","description_kind":"plain","optional":true},"gc_deletes":{"type":"string","description":"The length of time that a deleted document's version number remains available for further versioned operations.","description_kind":"plain","optional":true},"highlight_max_analyzed_offset":{"type":"string","description":"The maximum number of characters that will be analyzed for a highlight request. A stringified number.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"include_type_name":{"type":"string","description":"A string that indicates if and what we should pass to include_type_name parameter. Set to `\"false\"` when trying to create an index on a v6 cluster without a doc type or set to `\"true\"` when trying to create an index on a v7 cluster with a doc type. Since mapping updates are not currently supported, this applies only on index create.","description_kind":"plain","optional":true},"index_knn":{"type":"bool","description":"Indicates whether the index should build native library indices for the knn_vector fields. If set to false, the knn_vector fields will be stored in doc values, but Approximate k-NN search functionality will be disabled.","description_kind":"plain","optional":true},"index_knn_algo_param_ef_search":{"type":"string","description":"The size of the dynamic list used during k-NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib.","description_kind":"plain","optional":true},"index_similarity_default":{"type":"string","description":"A JSON string describing the default index similarity config.","description_kind":"plain","optional":true},"indexing_slowlog_level":{"type":"string","description":"Set which logging level to use for the search slow log, can be: `warn`, `info`, `debug`, `trace`","description_kind":"plain","optional":true},"indexing_slowlog_source":{"type":"string","description":"Set the number of characters of the `_source` to include in the slowlog lines, `false` or `0` will skip logging the source entirely and setting it to `true` will log the entire source regardless of size. The original `_source` is reformatted by default to make sure that it fits on a single log line.","description_kind":"plain","optional":true},"indexing_slowlog_threshold_index_debug":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g. `2s`","description_kind":"plain","optional":true},"indexing_slowlog_threshold_index_info":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g. `5s`","description_kind":"plain","optional":true},"indexing_slowlog_threshold_index_trace":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g. `500ms`","description_kind":"plain","optional":true},"indexing_slowlog_threshold_index_warn":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches for indexing queries, in time units, e.g. `10s`","description_kind":"plain","optional":true},"load_fixed_bitset_filters_eagerly":{"type":"bool","description":"Indicates whether cached filters are pre-loaded for nested queries. This can be set only on creation.","description_kind":"plain","optional":true},"mappings":{"type":"string","description":"A JSON string defining how documents in the index, and the fields they contain, are stored and indexed. To avoid the complexities of field mapping updates, updates of this field are not allowed via this provider.","description_kind":"plain","optional":true},"max_docvalue_fields_search":{"type":"string","description":"The maximum number of `docvalue_fields` that are allowed in a query. A stringified number.","description_kind":"plain","optional":true},"max_inner_result_window":{"type":"string","description":"The maximum value of `from + size` for inner hits definition and top hits aggregations to this index. A stringified number.","description_kind":"plain","optional":true},"max_ngram_diff":{"type":"string","description":"The maximum allowed difference between min_gram and max_gram for NGramTokenizer and NGramTokenFilter. A stringified number.","description_kind":"plain","optional":true},"max_refresh_listeners":{"type":"string","description":"Maximum number of refresh listeners available on each shard of the index. A stringified number.","description_kind":"plain","optional":true},"max_regex_length":{"type":"string","description":"The maximum length of regex that can be used in Regexp Query. A stringified number.","description_kind":"plain","optional":true},"max_rescore_window":{"type":"string","description":"The maximum value of `window_size` for `rescore` requests in searches of this index. A stringified number.","description_kind":"plain","optional":true},"max_result_window":{"type":"string","description":"The maximum value of `from + size` for searches to this index. A stringified number.","description_kind":"plain","optional":true},"max_script_fields":{"type":"string","description":"The maximum number of `script_fields` that are allowed in a query. A stringified number.","description_kind":"plain","optional":true},"max_shingle_diff":{"type":"string","description":"The maximum allowed difference between max_shingle_size and min_shingle_size for ShingleTokenFilter. A stringified number.","description_kind":"plain","optional":true},"max_terms_count":{"type":"string","description":"The maximum number of terms that can be used in Terms Query. A stringified number.","description_kind":"plain","optional":true},"name":{"type":"string","description":"Name of the index to create","description_kind":"plain","required":true},"number_of_replicas":{"type":"string","description":"Number of shard replicas. A stringified number.","description_kind":"plain","optional":true,"computed":true},"number_of_routing_shards":{"type":"string","description":"Value used with number_of_shards to route documents to a primary shard. A stringified number. This can be set only on creation.","description_kind":"plain","optional":true},"number_of_shards":{"type":"string","description":"Number of shards for the index. This can be set only on creation.","description_kind":"plain","optional":true,"computed":true},"refresh_interval":{"type":"string","description":"How often to perform a refresh operation, which makes recent changes to the index visible to search. Can be set to `-1` to disable refresh.","description_kind":"plain","optional":true},"rollover_alias":{"type":"string","description_kind":"plain","optional":true,"computed":true},"routing_allocation_enable":{"type":"string","description":"Controls shard allocation for this index. It can be set to: `all` , `primaries` , `new_primaries` , `none`.","description_kind":"plain","optional":true},"routing_partition_size":{"type":"string","description":"The number of shards a custom routing value can go to. A stringified number. This can be set only on creation.","description_kind":"plain","optional":true},"routing_rebalance_enable":{"type":"string","description":"Enables shard rebalancing for this index. It can be set to: `all`, `primaries` , `replicas` , `none`.","description_kind":"plain","optional":true},"search_idle_after":{"type":"string","description":"How long a shard can not receive a search or get request until it’s considered search idle.","description_kind":"plain","optional":true},"search_slowlog_level":{"type":"string","description":"Set which logging level to use for the search slow log, can be: `warn`, `info`, `debug`, `trace`","description_kind":"plain","optional":true},"search_slowlog_threshold_fetch_debug":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g. `2s`","description_kind":"plain","optional":true},"search_slowlog_threshold_fetch_info":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g. `5s`","description_kind":"plain","optional":true},"search_slowlog_threshold_fetch_trace":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g. `500ms`","description_kind":"plain","optional":true},"search_slowlog_threshold_fetch_warn":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the fetch phase, in time units, e.g. `10s`","description_kind":"plain","optional":true},"search_slowlog_threshold_query_debug":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g. `2s`","description_kind":"plain","optional":true},"search_slowlog_threshold_query_info":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g. `5s`","description_kind":"plain","optional":true},"search_slowlog_threshold_query_trace":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g. `500ms`","description_kind":"plain","optional":true},"search_slowlog_threshold_query_warn":{"type":"string","description":"Set the cutoff for shard level slow search logging of slow searches in the query phase, in time units, e.g. `10s`","description_kind":"plain","optional":true},"shard_check_on_startup":{"type":"string","description":"Whether or not shards should be checked for corruption before opening. When corruption is detected, it will prevent the shard from being opened. Accepts `false`, `true`, `checksum`.","description_kind":"plain","optional":true},"sort_field":{"type":"string","description":"The field to sort shards in this index by.","description_kind":"plain","optional":true},"sort_order":{"type":"string","description":"The direction to sort shards in. Accepts `asc`, `desc`.","description_kind":"plain","optional":true}},"description":"Provides an OpenSearch index resource.","description_kind":"plain"}},"opensearch_index_template":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The JSON body of the index template.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the index template.","description_kind":"plain","required":true}},"description":"Provides an OpenSearch index template resource.","description_kind":"plain"}},"opensearch_ingest_pipeline":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The JSON body of the ingest pipeline","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the ingest pipeline","description_kind":"plain","required":true}},"description":"Provides an OpenSearch ingest pipeline resource.","description_kind":"plain"}},"opensearch_ism_policy":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The policy document.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"policy_id":{"type":"string","description":"The id of the ISM policy.","description_kind":"plain","required":true},"primary_term":{"type":"number","description":"The primary term of the ISM policy version.","description_kind":"plain","optional":true,"computed":true},"seq_no":{"type":"number","description":"The sequence number of the ISM policy version.","description_kind":"plain","optional":true,"computed":true}},"description":"Provides an OpenSearch Index State Management (ISM) policy. Please refer to the OpenSearch ISM documentation for details.","description_kind":"plain"}},"opensearch_ism_policy_mapping":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"include":{"type":["set",["map","string"]],"description":"When updating multiple indices, you might want to include a state filter to only affect certain managed indices. The background process only applies the change if the index is currently in the state specified.","description_kind":"plain","optional":true},"indexes":{"type":"string","description":"Name of the index to apply the policy to. You can use an index pattern to update multiple indices at once.","description_kind":"plain","required":true},"is_safe":{"type":"bool","description_kind":"plain","optional":true},"managed_indexes":{"type":["set","string"],"description_kind":"plain","optional":true,"computed":true},"policy_id":{"type":"string","description":"The name of the policy.","description_kind":"plain","required":true},"state":{"type":"string","description":"After a change in policy takes place, specify the state for the index to transition to","description_kind":"plain","optional":true}},"block_types":{"timeouts":{"nesting_mode":"single","block":{"attributes":{"create":{"type":"string","description_kind":"plain","optional":true},"update":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description":"Provides an OpenSearch Index State Management (ISM) policy. Please refer to the OpenSearch ISM documentation for details.\n\n!\u003e `opensearch_ism_policy_mapping` is deprecated in OpenSearch 1.x please use the `opensearch_ism_policy` resource and specify the `ism_template` attribute in the policies instead.","description_kind":"plain","deprecated":true}},"opensearch_monitor":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The monitor document","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description":"Provides an OpenSearch monitor. Please refer to the OpenSearch monitor documentation for details.","description_kind":"plain"}},"opensearch_role":{"version":0,"block":{"attributes":{"cluster_permissions":{"type":["set","string"],"description":"A list of cluster permissions.","description_kind":"plain","optional":true},"description":{"type":"string","description":"Description of the role.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"role_name":{"type":"string","description":"The name of the security role.","description_kind":"plain","required":true}},"block_types":{"index_permissions":{"nesting_mode":"set","block":{"attributes":{"allowed_actions":{"type":["set","string"],"description":"A list of allowed actions.","description_kind":"plain","optional":true},"document_level_security":{"type":"string","description":"A selector for document-level security (json formatted using jsonencode).","description_kind":"plain","optional":true},"field_level_security":{"type":["set","string"],"description":"A list of selectors for field-level security.","description_kind":"plain","optional":true},"index_patterns":{"type":["set","string"],"description":"A list of glob patterns for the index names.","description_kind":"plain","optional":true},"masked_fields":{"type":["set","string"],"description":"A list of masked fields","description_kind":"plain","optional":true}},"description":"A configuration of index permissions","description_kind":"plain"}},"tenant_permissions":{"nesting_mode":"set","block":{"attributes":{"allowed_actions":{"type":["set","string"],"description":"A list of allowed actions.","description_kind":"plain","optional":true},"tenant_patterns":{"type":["set","string"],"description":"A list of glob patterns for the tenant names","description_kind":"plain","optional":true}},"description":"A configuration of tenant permissions","description_kind":"plain"}}},"description":"Provides an OpenSearch security role resource. Please refer to the OpenSearch Access Control documentation for details.","description_kind":"plain"}},"opensearch_roles_mapping":{"version":0,"block":{"attributes":{"and_backend_roles":{"type":["set","string"],"description":"A list of backend roles.","description_kind":"plain","optional":true},"backend_roles":{"type":["set","string"],"description":"A list of backend roles.","description_kind":"plain","optional":true},"description":{"type":"string","description":"Description of the role mapping.","description_kind":"plain","optional":true},"hosts":{"type":["set","string"],"description":"A list of host names.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"role_name":{"type":"string","description":"The name of the security role.","description_kind":"plain","required":true},"users":{"type":["set","string"],"description":"A list of users.","description_kind":"plain","optional":true}},"description":"Provides an OpenSearch security role mapping. Please refer to the OpenSearch Access Control documentation for details.","description_kind":"plain"}},"opensearch_script":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"lang":{"type":"string","description":"Specifies the language the script is written in. Defaults to painless.","description_kind":"plain","optional":true},"script_id":{"type":"string","description":"Identifier for the stored script. Must be unique within the cluster.","description_kind":"plain","required":true},"source":{"type":"string","description":"The source of the stored script","description_kind":"plain","required":true}},"description":"Provides an OpenSearch script resource.","description_kind":"plain"}},"opensearch_sm_policy":{"version":0,"block":{"attributes":{"body":{"type":"string","description":"The policy document.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"policy_name":{"type":"string","description":"The name of the SM policy.","description_kind":"plain","required":true},"primary_term":{"type":"number","description":"The primary term of the SM policy version.","description_kind":"plain","optional":true,"computed":true},"seq_no":{"type":"number","description":"The sequence number of the SM policy version.","description_kind":"plain","optional":true,"computed":true}},"description":"Provides an OpenSearch Snapshot Management (SM) policy. Please refer to the OpenSearch SM documentation for details.","description_kind":"plain"}},"opensearch_snapshot_repository":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the repository.","description_kind":"plain","required":true},"settings":{"type":["map","string"],"description":"The settings map applicable for the backend, see official documentation for plugins.","description_kind":"plain","optional":true},"type":{"type":"string","description":"The name of the repository backend (required plugins must be installed).","description_kind":"plain","required":true}},"description":"Provides an OpenSearch snapshot repository resource.","description_kind":"plain"}},"opensearch_user":{"version":0,"block":{"attributes":{"attributes":{"type":["map","string"],"description":"A map of arbitrary key value string pairs stored alongside of users.","description_kind":"plain","optional":true},"backend_roles":{"type":["set","string"],"description":"A list of backend roles.","description_kind":"plain","optional":true},"description":{"type":"string","description":"Description of the user.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"password":{"type":"string","description":"The plain text password for the user, cannot be specified with `password_hash`. Some implementations may enforce a password policy. Invalid passwords may cause a non-descriptive HTTP 400 Bad Request error. For AWS OpenSearch domains \"password must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one digit, and one special character\".","description_kind":"plain","optional":true,"sensitive":true},"password_hash":{"type":"string","description":"The pre-hashed password for the user, cannot be specified with `password`.","description_kind":"plain","optional":true,"sensitive":true},"username":{"type":"string","description":"The name of the security user.","description_kind":"plain","required":true}},"description":"Provides an OpenSearch security user. Please refer to the OpenSearch Access Control documentation for details.","description_kind":"plain"}}},"data_source_schemas":{"opensearch_host":{"version":0,"block":{"attributes":{"active":{"type":"bool","description":"should be set to `true`","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"url":{"type":"string","description":"the url of the active cluster","description_kind":"plain","computed":true}},"description":"`opensearch_host` can be used to retrieve the host URL for the provider's current cluster.","description_kind":"plain"}}}}}} diff --git a/examples-generated/channel/v1alpha1/configuration.yaml b/examples-generated/channel/v1alpha1/configuration.yaml new file mode 100644 index 0000000..8b95371 --- /dev/null +++ b/examples-generated/channel/v1alpha1/configuration.yaml @@ -0,0 +1,23 @@ +apiVersion: channel.opensearch.upbound.io/v1alpha1 +kind: Configuration +metadata: + annotations: + meta.upbound.io/example-id: channel/v1alpha1/configuration + labels: + testing.upbound.io/example-name: configuration_1 + name: configuration-1 +spec: + forProvider: + body: | + { + "config_id": "configuration_1", + "config": { + "name": "name", + "description" : "description", + "config_type" : "slack", + "is_enabled" : true, + "slack": { + "url": "https://sample-slack-webhook" + } + } + } diff --git a/examples-generated/component/v1alpha1/template.yaml b/examples-generated/component/v1alpha1/template.yaml index 6992abd..8fa5d22 100644 --- a/examples-generated/component/v1alpha1/template.yaml +++ b/examples-generated/component/v1alpha1/template.yaml @@ -13,7 +13,7 @@ spec: "template": { "settings": { "index": { - "number_of_shards": 1 + "number_of_shards": "1" } }, "mappings": { diff --git a/examples-generated/composable/v1alpha1/indextemplate.yaml b/examples-generated/composable/v1alpha1/indextemplate.yaml index 3c02e6c..299f3f9 100644 --- a/examples-generated/composable/v1alpha1/indextemplate.yaml +++ b/examples-generated/composable/v1alpha1/indextemplate.yaml @@ -14,7 +14,7 @@ spec: "template": { "settings": { "index": { - "number_of_shards": 1 + "number_of_shards": "1" } }, "mappings": { diff --git a/examples-generated/index/v1alpha1/template.yaml b/examples-generated/index/v1alpha1/template.yaml index b98b426..d717256 100644 --- a/examples-generated/index/v1alpha1/template.yaml +++ b/examples-generated/index/v1alpha1/template.yaml @@ -10,22 +10,27 @@ spec: forProvider: body: | { - "template": "te*", - "settings": { - "number_of_shards": 1 - }, - "mappings": { - "type1": { - "_source": { - "enabled": false - }, + "index_patterns": [ + "logs-2020-01-*" + ], + "template": { + "aliases": { + "my_logs": {} + }, + "settings": { + "index": { + "number_of_shards": "2", + "number_of_replicas": "1" + } + }, + "mappings": { "properties": { - "host_name": { - "type": "keyword" - }, - "created_at": { + "timestamp": { "type": "date", - "format": "EEE MMM dd HH:mm:ss Z YYYY" + "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis" + }, + "value": { + "type": "double" } } } diff --git a/examples-generated/opensearch/v1alpha1/index.yaml b/examples-generated/opensearch/v1alpha1/index.yaml index 40df291..d790fbc 100644 --- a/examples-generated/opensearch/v1alpha1/index.yaml +++ b/examples-generated/opensearch/v1alpha1/index.yaml @@ -4,23 +4,18 @@ metadata: annotations: meta.upbound.io/example-id: opensearch/v1alpha1/index labels: - testing.upbound.io/example-name: test - name: test + testing.upbound.io/example-name: test-simple-index + name: test-simple-index spec: forProvider: mappings: | { - "people": { - "_all": { - "enabled": false - }, - "properties": { - "email": { - "type": "text" - } + "properties": { + "name": { + "type": "text" } } } name: terraform-test - numberOfReplicas: 1 - numberOfShards: 1 + numberOfReplicas: "1" + numberOfShards: "1" diff --git a/examples-generated/opensearch/v1alpha1/monitor.yaml b/examples-generated/opensearch/v1alpha1/monitor.yaml index ca89205..37851a8 100644 --- a/examples-generated/opensearch/v1alpha1/monitor.yaml +++ b/examples-generated/opensearch/v1alpha1/monitor.yaml @@ -59,7 +59,7 @@ spec: "actions" : [ { "name" : "Slack", - "destination_id" : "${opensearch_destination.slack_on_call_channel.id}", + "destination_id" : "${opensearch_channel_configuration.slack_on_call_channel.id}", "message_template" : { "source" : "bogus", "lang" : "mustache" diff --git a/go.mod b/go.mod index 5d06796..0411208 100644 --- a/go.mod +++ b/go.mod @@ -4,9 +4,9 @@ go 1.22 require ( dario.cat/mergo v1.0.0 - github.com/crossplane/crossplane-runtime v1.15.0 + github.com/crossplane/crossplane-runtime v1.15.1 github.com/crossplane/crossplane-tools v0.0.0-20230925130601-628280f8bf79 - github.com/crossplane/upjet v1.2.0 + github.com/crossplane/upjet v1.3.0-rc.0.0.20240314162745-2ef7077f6d16 github.com/pkg/errors v0.9.1 gopkg.in/alecthomas/kingpin.v2 v2.2.6 k8s.io/apimachinery v0.29.1 diff --git a/go.sum b/go.sum index 5517f99..ef01ecb 100644 --- a/go.sum +++ b/go.sum @@ -23,12 +23,12 @@ github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/crossplane/crossplane-runtime v1.15.0 h1:9KmvKihwksyJnaH5AGnOUtYgTZLNTiT0Ki/zm9SqmlA= -github.com/crossplane/crossplane-runtime v1.15.0/go.mod h1:kRcJjJQmBFrR2n/KhwL8wYS7xNfq3D8eK4JliEScOHI= +github.com/crossplane/crossplane-runtime v1.15.1 h1:g1h75tNYOQT152IUNxs8ZgSsRFQKrZN9z69KefMujXs= +github.com/crossplane/crossplane-runtime v1.15.1/go.mod h1:kRcJjJQmBFrR2n/KhwL8wYS7xNfq3D8eK4JliEScOHI= github.com/crossplane/crossplane-tools v0.0.0-20230925130601-628280f8bf79 h1:HigXs5tEQxWz0fcj8hzbU2UAZgEM7wPe0XRFOsrtF8Y= github.com/crossplane/crossplane-tools v0.0.0-20230925130601-628280f8bf79/go.mod h1:+e4OaFlOcmr0JvINHl/yvEYBrZawzTgj6pQumOH1SS0= -github.com/crossplane/upjet v1.2.0 h1:vGV+//ZNN7ym3ClSnoX9YV+GRJJa18gjwvuFl7OpO9A= -github.com/crossplane/upjet v1.2.0/go.mod h1:0bHLtnejZ9bDeyXuBb9MSOQLvKo3+aoTeUBO8N0dGSA= +github.com/crossplane/upjet v1.3.0-rc.0.0.20240314162745-2ef7077f6d16 h1:rga2kPfuFXAeodP2+Ni8svo38BrfsdaaCv6yejn/+2M= +github.com/crossplane/upjet v1.3.0-rc.0.0.20240314162745-2ef7077f6d16/go.mod h1:0bHLtnejZ9bDeyXuBb9MSOQLvKo3+aoTeUBO8N0dGSA= github.com/dave/jennifer v1.7.0 h1:uRbSBH9UTS64yXbh4FrMHfgfY762RD+C7bUPKODpSJE= github.com/dave/jennifer v1.7.0/go.mod h1:nXbxhEmQfOZhWml3D1cDK5M1FLnMSozpbFN/m3RmGZc= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/internal/controller/anomaly/detection/zz_controller.go b/internal/controller/anomaly/detection/zz_controller.go index 46fb292..765b199 100755 --- a/internal/controller/anomaly/detection/zz_controller.go +++ b/internal/controller/anomaly/detection/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package detection diff --git a/internal/controller/audit/config/zz_controller.go b/internal/controller/audit/config/zz_controller.go index a607ef6..4981d83 100755 --- a/internal/controller/audit/config/zz_controller.go +++ b/internal/controller/audit/config/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package config diff --git a/internal/controller/channel/configuration/zz_controller.go b/internal/controller/channel/configuration/zz_controller.go index 358cb97..37e7a56 100755 --- a/internal/controller/channel/configuration/zz_controller.go +++ b/internal/controller/channel/configuration/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package configuration diff --git a/internal/controller/cluster/settings/zz_controller.go b/internal/controller/cluster/settings/zz_controller.go index 4bd72ac..61b5ba6 100755 --- a/internal/controller/cluster/settings/zz_controller.go +++ b/internal/controller/cluster/settings/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package settings diff --git a/internal/controller/component/template/zz_controller.go b/internal/controller/component/template/zz_controller.go index 4bf5fc7..32d3314 100755 --- a/internal/controller/component/template/zz_controller.go +++ b/internal/controller/component/template/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package template diff --git a/internal/controller/composable/indextemplate/zz_controller.go b/internal/controller/composable/indextemplate/zz_controller.go index 6ee0484..9e1357a 100755 --- a/internal/controller/composable/indextemplate/zz_controller.go +++ b/internal/controller/composable/indextemplate/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package indextemplate diff --git a/internal/controller/dashboard/object/zz_controller.go b/internal/controller/dashboard/object/zz_controller.go index 0bc7f4b..3e01c3d 100755 --- a/internal/controller/dashboard/object/zz_controller.go +++ b/internal/controller/dashboard/object/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package object diff --git a/internal/controller/dashboard/tenant/zz_controller.go b/internal/controller/dashboard/tenant/zz_controller.go index 3b568a1..748e63d 100755 --- a/internal/controller/dashboard/tenant/zz_controller.go +++ b/internal/controller/dashboard/tenant/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package tenant diff --git a/internal/controller/data/stream/zz_controller.go b/internal/controller/data/stream/zz_controller.go index 1eab87b..7e17428 100755 --- a/internal/controller/data/stream/zz_controller.go +++ b/internal/controller/data/stream/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package stream diff --git a/internal/controller/index/template/zz_controller.go b/internal/controller/index/template/zz_controller.go index bf2e977..c933406 100755 --- a/internal/controller/index/template/zz_controller.go +++ b/internal/controller/index/template/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package template diff --git a/internal/controller/ingest/pipeline/zz_controller.go b/internal/controller/ingest/pipeline/zz_controller.go index 2293c7d..f4157e1 100755 --- a/internal/controller/ingest/pipeline/zz_controller.go +++ b/internal/controller/ingest/pipeline/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package pipeline diff --git a/internal/controller/ism/policy/zz_controller.go b/internal/controller/ism/policy/zz_controller.go index baa130d..a93c672 100755 --- a/internal/controller/ism/policy/zz_controller.go +++ b/internal/controller/ism/policy/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package policy diff --git a/internal/controller/ism/policymapping/zz_controller.go b/internal/controller/ism/policymapping/zz_controller.go index b564055..c70160d 100755 --- a/internal/controller/ism/policymapping/zz_controller.go +++ b/internal/controller/ism/policymapping/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package policymapping diff --git a/internal/controller/opensearch/index/zz_controller.go b/internal/controller/opensearch/index/zz_controller.go index 969c6ae..916da52 100755 --- a/internal/controller/opensearch/index/zz_controller.go +++ b/internal/controller/opensearch/index/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package index diff --git a/internal/controller/opensearch/monitor/zz_controller.go b/internal/controller/opensearch/monitor/zz_controller.go index dd88d94..6acdf26 100755 --- a/internal/controller/opensearch/monitor/zz_controller.go +++ b/internal/controller/opensearch/monitor/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package monitor diff --git a/internal/controller/opensearch/role/zz_controller.go b/internal/controller/opensearch/role/zz_controller.go index 23382d8..d856604 100755 --- a/internal/controller/opensearch/role/zz_controller.go +++ b/internal/controller/opensearch/role/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package role diff --git a/internal/controller/opensearch/script/zz_controller.go b/internal/controller/opensearch/script/zz_controller.go index c7281f4..0135496 100755 --- a/internal/controller/opensearch/script/zz_controller.go +++ b/internal/controller/opensearch/script/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package script diff --git a/internal/controller/opensearch/user/zz_controller.go b/internal/controller/opensearch/user/zz_controller.go index f97def0..d5f0c5b 100755 --- a/internal/controller/opensearch/user/zz_controller.go +++ b/internal/controller/opensearch/user/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package user diff --git a/internal/controller/roles/mapping/zz_controller.go b/internal/controller/roles/mapping/zz_controller.go index 0cf8940..99be482 100755 --- a/internal/controller/roles/mapping/zz_controller.go +++ b/internal/controller/roles/mapping/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package mapping diff --git a/internal/controller/sm/policy/zz_controller.go b/internal/controller/sm/policy/zz_controller.go index 74a1a54..18dc4db 100755 --- a/internal/controller/sm/policy/zz_controller.go +++ b/internal/controller/sm/policy/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package policy diff --git a/internal/controller/snapshot/repository/zz_controller.go b/internal/controller/snapshot/repository/zz_controller.go index 9d7f82b..5596444 100755 --- a/internal/controller/snapshot/repository/zz_controller.go +++ b/internal/controller/snapshot/repository/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - // Code generated by upjet. DO NOT EDIT. package repository diff --git a/internal/controller/zz_setup.go b/internal/controller/zz_setup.go index da9a3bc..4427e4e 100755 --- a/internal/controller/zz_setup.go +++ b/internal/controller/zz_setup.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - package controller import ( diff --git a/package/crds/anomaly.opensearch.upbound.io_detections.yaml b/package/crds/anomaly.opensearch.upbound.io_detections.yaml index e1c6652..96e6baa 100644 --- a/package/crds/anomaly.opensearch.upbound.io_detections.yaml +++ b/package/crds/anomaly.opensearch.upbound.io_detections.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/audit.opensearch.upbound.io_configs.yaml b/package/crds/audit.opensearch.upbound.io_configs.yaml index d8819f2..5d1b47b 100644 --- a/package/crds/audit.opensearch.upbound.io_configs.yaml +++ b/package/crds/audit.opensearch.upbound.io_configs.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/channel.opensearch.upbound.io_configurations.yaml b/package/crds/channel.opensearch.upbound.io_configurations.yaml index 03b15f8..74469ba 100644 --- a/package/crds/channel.opensearch.upbound.io_configurations.yaml +++ b/package/crds/channel.opensearch.upbound.io_configurations.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string @@ -34,7 +34,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: Configuration is the Schema for the Configurations API. + description: Configuration is the Schema for the Configurations API. Provides + an OpenSearch channel configuration. Please refer to the OpenSearch channel + configuration documentation for details. properties: apiVersion: description: |- @@ -73,7 +75,9 @@ spec: forProvider: properties: body: - description: The channel configuration document + description: |- + (String) The channel configuration document + The channel configuration document type: string type: object initProvider: @@ -90,7 +94,9 @@ spec: autoscaler. properties: body: - description: The channel configuration document + description: |- + (String) The channel configuration document + The channel configuration document type: string type: object managementPolicies: @@ -271,9 +277,12 @@ spec: atProvider: properties: body: - description: The channel configuration document + description: |- + (String) The channel configuration document + The channel configuration document type: string id: + description: (String) The ID of this resource. type: string type: object conditions: diff --git a/package/crds/cluster.opensearch.upbound.io_settings.yaml b/package/crds/cluster.opensearch.upbound.io_settings.yaml index 8b3937e..338d52e 100644 --- a/package/crds/cluster.opensearch.upbound.io_settings.yaml +++ b/package/crds/cluster.opensearch.upbound.io_settings.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/component.opensearch.upbound.io_templates.yaml b/package/crds/component.opensearch.upbound.io_templates.yaml index 9ad9547..72a3ff3 100644 --- a/package/crds/component.opensearch.upbound.io_templates.yaml +++ b/package/crds/component.opensearch.upbound.io_templates.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/composable.opensearch.upbound.io_indextemplates.yaml b/package/crds/composable.opensearch.upbound.io_indextemplates.yaml index f16d4fe..6081729 100644 --- a/package/crds/composable.opensearch.upbound.io_indextemplates.yaml +++ b/package/crds/composable.opensearch.upbound.io_indextemplates.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/dashboard.opensearch.upbound.io_objects.yaml b/package/crds/dashboard.opensearch.upbound.io_objects.yaml index 2af6c74..b19b10a 100644 --- a/package/crds/dashboard.opensearch.upbound.io_objects.yaml +++ b/package/crds/dashboard.opensearch.upbound.io_objects.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/dashboard.opensearch.upbound.io_tenants.yaml b/package/crds/dashboard.opensearch.upbound.io_tenants.yaml index 7eff359..1fe36ce 100644 --- a/package/crds/dashboard.opensearch.upbound.io_tenants.yaml +++ b/package/crds/dashboard.opensearch.upbound.io_tenants.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/data.opensearch.upbound.io_streams.yaml b/package/crds/data.opensearch.upbound.io_streams.yaml index 12d9be4..574af97 100644 --- a/package/crds/data.opensearch.upbound.io_streams.yaml +++ b/package/crds/data.opensearch.upbound.io_streams.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/index.opensearch.upbound.io_templates.yaml b/package/crds/index.opensearch.upbound.io_templates.yaml index 5c75ded..b15f80a 100644 --- a/package/crds/index.opensearch.upbound.io_templates.yaml +++ b/package/crds/index.opensearch.upbound.io_templates.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/ingest.opensearch.upbound.io_pipelines.yaml b/package/crds/ingest.opensearch.upbound.io_pipelines.yaml index 3bbec1e..fd37904 100644 --- a/package/crds/ingest.opensearch.upbound.io_pipelines.yaml +++ b/package/crds/ingest.opensearch.upbound.io_pipelines.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/ism.opensearch.upbound.io_policies.yaml b/package/crds/ism.opensearch.upbound.io_policies.yaml index 9e3d278..40f0938 100644 --- a/package/crds/ism.opensearch.upbound.io_policies.yaml +++ b/package/crds/ism.opensearch.upbound.io_policies.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/ism.opensearch.upbound.io_policymappings.yaml b/package/crds/ism.opensearch.upbound.io_policymappings.yaml index 81a333d..2555e14 100644 --- a/package/crds/ism.opensearch.upbound.io_policymappings.yaml +++ b/package/crds/ism.opensearch.upbound.io_policymappings.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string @@ -36,7 +36,9 @@ spec: openAPIV3Schema: description: PolicyMapping is the Schema for the PolicyMappings API. Provides an OpenSearch Index State Management (ISM) policy. Please refer to the OpenSearch - ISM documentation for details. + ISM documentation for details. !> opensearch_ism_policy_mapping is deprecated + in OpenSearch 1.x please use the opensearch_ism_policy resource and specify + the ism_template attribute in the policies instead. properties: apiVersion: description: |- diff --git a/package/crds/opensearch.opensearch.upbound.io_indices.yaml b/package/crds/opensearch.opensearch.upbound.io_indices.yaml index 8093119..2d98ff5 100644 --- a/package/crds/opensearch.opensearch.upbound.io_indices.yaml +++ b/package/crds/opensearch.opensearch.upbound.io_indices.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string @@ -175,7 +175,7 @@ spec: type: boolean indexKnnAlgoParamEfSearch: description: |- - NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib implementation. + NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib. The size of the dynamic list used during k-NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib. type: string indexSimilarityDefault: @@ -497,7 +497,7 @@ spec: type: boolean indexKnnAlgoParamEfSearch: description: |- - NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib implementation. + NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib. The size of the dynamic list used during k-NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib. type: string indexSimilarityDefault: @@ -986,7 +986,7 @@ spec: type: boolean indexKnnAlgoParamEfSearch: description: |- - NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib implementation. + NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib. The size of the dynamic list used during k-NN searches. Higher values lead to more accurate but slower searches. Only available for nmslib. type: string indexSimilarityDefault: diff --git a/package/crds/opensearch.opensearch.upbound.io_monitors.yaml b/package/crds/opensearch.opensearch.upbound.io_monitors.yaml index fcd2fd0..cc3908b 100644 --- a/package/crds/opensearch.opensearch.upbound.io_monitors.yaml +++ b/package/crds/opensearch.opensearch.upbound.io_monitors.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/opensearch.opensearch.upbound.io_roles.yaml b/package/crds/opensearch.opensearch.upbound.io_roles.yaml index 1b5b569..d0a2166 100644 --- a/package/crds/opensearch.opensearch.upbound.io_roles.yaml +++ b/package/crds/opensearch.opensearch.upbound.io_roles.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/opensearch.opensearch.upbound.io_scripts.yaml b/package/crds/opensearch.opensearch.upbound.io_scripts.yaml index f98dfbf..f4a41f8 100644 --- a/package/crds/opensearch.opensearch.upbound.io_scripts.yaml +++ b/package/crds/opensearch.opensearch.upbound.io_scripts.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/opensearch.opensearch.upbound.io_users.yaml b/package/crds/opensearch.opensearch.upbound.io_users.yaml index 5e5252a..db4d94d 100644 --- a/package/crds/opensearch.opensearch.upbound.io_users.yaml +++ b/package/crds/opensearch.opensearch.upbound.io_users.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/roles.opensearch.upbound.io_mappings.yaml b/package/crds/roles.opensearch.upbound.io_mappings.yaml index 2143b75..680f080 100644 --- a/package/crds/roles.opensearch.upbound.io_mappings.yaml +++ b/package/crds/roles.opensearch.upbound.io_mappings.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/sm.opensearch.upbound.io_policies.yaml b/package/crds/sm.opensearch.upbound.io_policies.yaml index bae375f..6e9c025 100644 --- a/package/crds/sm.opensearch.upbound.io_policies.yaml +++ b/package/crds/sm.opensearch.upbound.io_policies.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crds/snapshot.opensearch.upbound.io_repositories.yaml b/package/crds/snapshot.opensearch.upbound.io_repositories.yaml index 1de0ac3..9180cad 100644 --- a/package/crds/snapshot.opensearch.upbound.io_repositories.yaml +++ b/package/crds/snapshot.opensearch.upbound.io_repositories.yaml @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string diff --git a/package/crossplane.yaml b/package/crossplane.yaml index 1e79080..4333683 100644 --- a/package/crossplane.yaml +++ b/package/crossplane.yaml @@ -8,7 +8,7 @@ metadata: meta.crossplane.io/license: Apache-2.0 meta.crossplane.io/description: | The OpenSearch Crossplane provider adds support for - managing YC resources in Kubernetes. + managing OpenSearch resources in Kubernetes. meta.crossplane.io/readme: | `provider-opensearch`is the Crossplane infrastructure provider for [OpenSearch](https://opensearch.org/).