diff --git a/CHANGELOG.md b/CHANGELOG.md index 755372df..2a13c499 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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: diff --git a/docs/resources/group.md b/docs/resources/group.md index a309331b..be7a0ac7 100644 --- a/docs/resources/group.md +++ b/docs/resources/group.md @@ -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 diff --git a/pkg/artifactory/resource/security/resource_artifactory_group.go b/pkg/artifactory/resource/security/resource_artifactory_group.go index 94267905..37330012 100644 --- a/pkg/artifactory/resource/security/resource_artifactory_group.go +++ b/pkg/artifactory/resource/security/resource_artifactory_group.go @@ -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,