Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: mark user_group_member and group_project as ga #1662

Merged
merged 1 commit into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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