Skip to content

Commit

Permalink
fix: mark aiven_external_identity data source as beta in docs (#1859)
Browse files Browse the repository at this point in the history
  • Loading branch information
rriski authored Oct 4, 2024
1 parent 4307b4f commit 20ff586
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ gen-go:


docs: $(TFPLUGINDOCS)
rm -f docs/.DS_Store
PROVIDER_AIVEN_ENABLE_BETA=1 $(TFPLUGINDOCS) generate
rm -f docs/data-sources/influxdb*.md
rm -f docs/resources/influxdb*.md
Expand Down
7 changes: 6 additions & 1 deletion docs/data-sources/external_identity.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ page_title: "aiven_external_identity Data Source - terraform-provider-aiven"
subcategory: ""
description: |-
Maps an external service user to an Aiven user.
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_external_identity (Data Source)

Maps an external service user to an Aiven user.
Maps an external service user to an Aiven user.

**This resource is in the beta stage and may change without notice.** Set
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (
"fmt"

"github.com/aiven/aiven-go-client/v2"
"github.com/aiven/terraform-provider-aiven/internal/schemautil/userconfig"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"

"github.com/aiven/terraform-provider-aiven/internal/plugin/util"
"github.com/aiven/terraform-provider-aiven/internal/schemautil/userconfig"
)

var (
Expand Down Expand Up @@ -58,7 +58,7 @@ func (r *externalIdentityDataSource) Schema(
resp *datasource.SchemaResponse,
) {
resp.Schema = schema.Schema{
Description: "Maps an external service user to an Aiven user.",
Description: userconfig.Desc("Maps an external service user to an Aiven user.").AvailabilityType(userconfig.Beta).Build(),
Attributes: map[string]schema.Attribute{
"organization_id": schema.StringAttribute{
Description: "The ID of the Aiven organization that the user is part of.",
Expand Down

0 comments on commit 20ff586

Please sign in to comment.