From b5acaa835e7f2077cba2920d18225bec8f469113 Mon Sep 17 00:00:00 2001 From: Srinivas Pothuraju Date: Tue, 19 Nov 2024 10:02:03 -0600 Subject: [PATCH] Deprecate metrics exporter in the TF provider (#118) --- docs/resources/metrics_exporter.md | 3 +++ managed/resource_metrics_exporter.go | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/resources/metrics_exporter.md b/docs/resources/metrics_exporter.md index 791d4b0..27e26fb 100644 --- a/docs/resources/metrics_exporter.md +++ b/docs/resources/metrics_exporter.md @@ -1,11 +1,14 @@ --- page_title: "ybm_metrics_exporter Resource - YugabyteDB Aeon" description: |- + [DEPRECATED] Please use ybm_integration instead. The resource to create a metrics exporter config in YugabyteDB Aeon. --- # ybm_metrics_exporter (Resource) +[DEPRECATED] Please use `ybm_integration` instead. + The resource to create a metrics exporter config in YugabyteDB Aeon. diff --git a/managed/resource_metrics_exporter.go b/managed/resource_metrics_exporter.go index 7b0801e..1e1adfa 100644 --- a/managed/resource_metrics_exporter.go +++ b/managed/resource_metrics_exporter.go @@ -23,7 +23,9 @@ type resourceMetricsExporterType struct{} func (r resourceMetricsExporterType) GetSchema(_ context.Context) (tfsdk.Schema, diag.Diagnostics) { return tfsdk.Schema{ - Description: `The resource to create a metrics exporter config in YugabyteDB Aeon.`, + Description: `[DEPRECATED] Please use ` + "`ybm_integration`" + ` instead. + +The resource to create a metrics exporter config in YugabyteDB Aeon.`, Attributes: map[string]tfsdk.Attribute{ "account_id": { Description: "The ID of the account this metrics exporter config belongs to.",