From 44b8d9f1916cabda77a1c84a112b5499bff48802 Mon Sep 17 00:00:00 2001 From: Timo Riski Date: Mon, 30 Sep 2024 11:06:18 +0300 Subject: [PATCH] feat: remove `aiven_thanos` from beta resources --- CHANGELOG.md | 4 ++++ docs/data-sources/thanos.md | 7 +------ docs/resources/thanos.md | 7 +------ internal/sdkprovider/provider/provider.go | 5 +---- 4 files changed, 7 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 502b1fba7..bf3eeded1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ nav_order: 1 +## [MAJOR.MINOR.PATCH] - YYYY-MM-DD + +- Remove `aiven_thanos` from beta resources + ## [4.26.0] - 2024-09-25 - Remove `aiven_valkey` from beta resources diff --git a/docs/data-sources/thanos.md b/docs/data-sources/thanos.md index 8db5a0d03..e3673914f 100644 --- a/docs/data-sources/thanos.md +++ b/docs/data-sources/thanos.md @@ -4,16 +4,11 @@ page_title: "aiven_thanos Data Source - terraform-provider-aiven" subcategory: "" description: |- Gets information about an Aiven for Thanos® service. - This resource is in the beta stage and may change without notice. Set - the PROVIDER_AIVEN_ENABLE_BETA environment variable to use the resource. --- # aiven_thanos (Data Source) -Gets information about an Aiven for Thanos® service. - -**This resource is in the beta stage and may change without notice.** Set -the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource. +Gets information about an Aiven for Thanos® service. diff --git a/docs/resources/thanos.md b/docs/resources/thanos.md index 1294d2397..b791b8306 100644 --- a/docs/resources/thanos.md +++ b/docs/resources/thanos.md @@ -4,16 +4,11 @@ page_title: "aiven_thanos Resource - terraform-provider-aiven" subcategory: "" description: |- Creates and manages an Aiven for Metrics® https://aiven.io/docs/products/metrics/concepts/metrics-overview service. - This resource is in the beta stage and may change without notice. Set - the PROVIDER_AIVEN_ENABLE_BETA environment variable to use the resource. --- # aiven_thanos (Resource) -Creates and manages an [Aiven for Metrics®](https://aiven.io/docs/products/metrics/concepts/metrics-overview) service. - -**This resource is in the beta stage and may change without notice.** Set -the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource. +Creates and manages an [Aiven for Metrics®](https://aiven.io/docs/products/metrics/concepts/metrics-overview) service. diff --git a/internal/sdkprovider/provider/provider.go b/internal/sdkprovider/provider/provider.go index 386ee86b1..7b11a21a6 100644 --- a/internal/sdkprovider/provider/provider.go +++ b/internal/sdkprovider/provider/provider.go @@ -277,13 +277,10 @@ func Provider(version string) (*schema.Provider, error) { // Adds "beta" warning to the description betaResources := []string{ - "aiven_thanos", "aiven_organization_permission", } - betaDataSources := []string{ - "aiven_thanos", - } + betaDataSources := []string{} missing := append( addBeta(p.ResourcesMap, betaResources...),