Skip to content

Commit

Permalink
Deprecate metrics exporter in the TF provider (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
posriniv authored Nov 19, 2024
1 parent 1602ffb commit b5acaa8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/resources/metrics_exporter.md
Original file line number Diff line number Diff line change
@@ -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.


Expand Down
4 changes: 3 additions & 1 deletion managed/resource_metrics_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down

0 comments on commit b5acaa8

Please sign in to comment.