terraform-provider-gitlab icon indicating copy to clipboard operation
terraform-provider-gitlab copied to clipboard

Feature request: `gitlab_project_fork`

Open rsrchboy opened this issue 5 years ago • 1 comments

It would be very useful to be able to create a fork into a given namespace, a la:

resource "gitlab_project_fork" "foo" {
  project_id = 123
  namespace_id = 456
  ...
}

I apologize for making this a feature request, and not a PR, but time is... finite right now :\

rsrchboy avatar Mar 05 '19 14:03 rsrchboy

I wonder if this shouldn't be a new resource, since it seems a bit weird to me to model a forking action as a resource. You'd be left with a new project that isn't in the Terraform state. Maybe instead of the new resource, we can add a new value to the gitlab_project resource called forked_project_id, so that you can create a project as a fork of another project. Thoughts?

armsnyder avatar Jul 17 '20 22:07 armsnyder

Hi, is this feature still planned ? this issue seems not to be reviewed since few times

QuentinLeloire avatar Sep 29 '22 17:09 QuentinLeloire