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

Deprecate group resource #1130

Merged
merged 5 commits into from
Nov 18, 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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 12.5.0 (November 15, 2024). Tested on Artifactory 7.98.8 with Terraform 1.9.8 and OpenTofu 1.8.5

NOTES:

* resource/artifactory_group: This resource is being deprecated and replaced by new [platform_group](https://registry.terraform.io/providers/jfrog/platform/latest/docs/resources/group) resource in the Platform provider. PR: [#1130](https://github.com/jfrog/terraform-provider-artifactory/pull/1130)

## 12.4.1 (November 11, 2024). Tested on Artifactory 7.98.8 with Terraform 1.9.8 and OpenTofu 1.8.5

BUG FIXES:
Expand Down
4 changes: 3 additions & 1 deletion docs/resources/group.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "artifactory_group Resource - terraform-provider-artifactory"
subcategory: "Security"
subcategory: "Deprecated"
---
# Artifactory Group Resource

Provides an Artifactory group resource. This can be used to create and manage Artifactory groups.

!>This resource is deprecated and will be removed in the next major version. Use [`platform_group` resource](https://registry.terraform.io/providers/jfrog/platform/latest/docs/resources/group) in the JFrog Platform provider instead.

## Example Usage

```terraform
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ func (r *ArtifactoryGroupResource) Metadata(ctx context.Context, req resource.Me
func (r *ArtifactoryGroupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) {
resp.Schema = schema.Schema{
MarkdownDescription: "Provides an Artifactory group resource. This can be used to create and manage Artifactory groups. A group represents a role in the system and is assigned a set of permissions.",
DeprecationMessage: "This resource is deprecated. Use 'platform_group' resource in the JFrog Platform provider instead.",
Attributes: map[string]schema.Attribute{
"id": schema.StringAttribute{
Computed: true,
Expand Down
Loading