Lerentis / terraform-provider-gitea

Terraform Provider for your Gitea Instance
https://registry.terraform.io/providers/Lerentis/gitea/latest
MIT License
22 stars 11 forks source link

Ability to create push-mirrors from own repo to other platforms #49

Open PatDyn opened 1 year ago

PatDyn commented 1 year ago

Is your feature request related to a problem? Please describe. It currently is possible to create push mirrors in the gitea/forgejo UI but as far as i tried its not possible with the provider.

Describe the solution you'd like The ability to create a push mirror like so: resource "gitea_repository" "original_repo" { username = "some-user" name = "original_repo" remote_user = var.remote_usr remote_password = var.remote_pw remote_repo_url = git@some-git-provider.org/some-user/repo-that-will-be-pushed-to.git remote_sync_on_push = true remote_sync_interval = "1h0m0s" } could extend the use cases for the provider. :)

Describe alternatives you've considered I'm currently not aware of any automated alternatives.

Additional context

Add any other context or screenshots about the feature request here. gitea_push_mirror

Edit: Correct git link format.