Skip to content

Commit

Permalink
Merge pull request #1130 from jfrog/deprecate-group-resource
Browse files Browse the repository at this point in the history
Deprecate group resource
  • Loading branch information
alexhung authored Nov 18, 2024
2 parents 7521341 + 8e7fab7 commit 5787007
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
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

0 comments on commit 5787007

Please sign in to comment.