Skip to content

Commit

Permalink
Set deprecation message for artifactory_group resource
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhung committed Nov 15, 2024
1 parent 781d6b3 commit a67737c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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 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 a67737c

Please sign in to comment.