Skip to content

Commit

Permalink
fix: mark 'aiven_external_identity' data source as beta
Browse files Browse the repository at this point in the history
  • Loading branch information
rriski committed Oct 1, 2024
1 parent 71f9689 commit 4f949f5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
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 4f949f5

Please sign in to comment.