Skip to content

Commit

Permalink
refactor: mark user_group_member and group_project as ga
Browse files Browse the repository at this point in the history
  • Loading branch information
byashimov committed Mar 20, 2024
1 parent 633faf7 commit a4cd620
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 14 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ nav_order: 1
- `emit_backward_heartbeats_enabled`
- `offset_syncs_topic_location`
- `replication_policy_class`
- Remove the beta flag for `aiven_organization_user_group_member` and `aiven_organization_group_project` resources

## [4.14.0] - 2024-02-20

Expand Down
6 changes: 1 addition & 5 deletions docs/resources/organization_group_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@ page_title: "aiven_organization_group_project Resource - terraform-provider-aive
subcategory: ""
description: |-
Adds and manages a group https://aiven.io/docs/platform/concepts/projects_accounts_access#groups of users as members of a project https://aiven.io/docs/platform/reference/project-member-privileges.
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_organization_group_project (Resource)

Adds and manages a [group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups) of users as [members of a project](https://aiven.io/docs/platform/reference/project-member-privileges).
**This resource is in the beta stage and may change without notice.** Set
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
Adds and manages a [group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups) of users as [members of a project](https://aiven.io/docs/platform/reference/project-member-privileges).

## Example Usage

Expand Down
6 changes: 1 addition & 5 deletions docs/resources/organization_user_group_member.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@ page_title: "aiven_organization_user_group_member Resource - terraform-provider-
subcategory: ""
description: |-
Adds and manages users in a user group https://aiven.io/docs/platform/concepts/projects_accounts_access#groups.
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_organization_user_group_member (Resource)

Adds and manages users in a [user group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups).
**This resource is in the beta stage and may change without notice.** Set
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
Adds and manages users in a [user group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups).

## Example Usage

Expand Down
4 changes: 2 additions & 2 deletions internal/plugin/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ func (p *AivenProvider) Resources(context.Context) []func() resource.Resource {
// List of resources that are currently available in the provider.
resources := []func() resource.Resource{
organization.NewOrganizationResource,
organization.NewOrganizationUserGroupMembersResource,
organization.NewOrganizationGroupProjectResource,
}

// Add to a list of resources that are currently in beta.
if util.IsBeta() {
betaResources := []func() resource.Resource{
organization.NewOrganizationUserGroupMembersResource,
organization.NewOrganizationGroupProjectResource,
organization.NewOrganizationApplicationUser,
organization.NewOrganizationApplicationUserToken,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ func (r *organizationGroupProjectResource) Schema(
"[group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups) of users as " +
"[members of a project](https://aiven.io/docs/platform/reference/project-member-privileges).",
).
AvailabilityType(userconfig.Beta).
Build(),
Attributes: map[string]schema.Attribute{
"id": schema.StringAttribute{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ func (r *organizationUserGroupMembersResource) Schema(
"Adds and manages users in a " +
"[user group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups).",
).
AvailabilityType(userconfig.Beta).
Build(),
Attributes: map[string]schema.Attribute{
"id": schema.StringAttribute{
Expand Down

0 comments on commit a4cd620

Please sign in to comment.