Archival of Groups instead of deletion
## New Resource
This is neither a request for a new resource nor a bug report. I would like to request a new feature for the `gitlab_group` resource (and potentially contribute the change myself, although I'm not a native Go developer).
TL;DR: GitLab supports [archival of groups](https://gitlab.com/groups/gitlab-org/-/epics/15019) since 18.0, currently behind a feature flag. The [API endpoint](https://docs.gitlab.com/api/groups/#archive-a-group) is already present.
I want to take over the archival handling from `gitlab_project`, where a project will be archived instead of deleted. Groups shall follow the same convention.
New behaviour:
```hcl
resource "gitlab_group" "example" {
name = "example"
path = "example"
description = "An example group"
archive_on_destroy = true
}
```
## Related GitLab APIs
API documentation:
https://docs.gitlab.com/api/groups/#archive-a-group
Currently, as of 18.0, behind a feature flag.
## Additional Details
- [x] [GitLab REST API resources](https://docs.gitlab.com/api/api_resources/) available (*read* for data sources, *CRUD* for resources)
- [ ] [client-go](https://gitlab.com/gitlab-org/api/client-go) supports the related GitLab API already
- [x] I'd like to contribute it myself
## Implementation Guide
- Follow the `CONTRIBUTING.md` guide for setting up your local development environment.
- Clone the community fork of this project.
- In `internal/provider/resource_gitlab_group.go`, add a new attribute called `archive_on_destroy`. Follow the equivalent logic in `internal/provider/sdk/resource_gitlab_project.go` to see where it needs to be used.
- Add an archive test to `internal/provider/resource_gitlab_group.go`. Again use the equivalent test in `internal/provider/sdk/resource_gitlab_project_test.go` as a guide.
issue