diff --git a/docs/resources/repository.md b/docs/resources/repository.md index 559c018..f7c9d0a 100644 --- a/docs/resources/repository.md +++ b/docs/resources/repository.md @@ -41,6 +41,16 @@ resource "gitea_repository" "mirror" { migration_service = "gitea" migration_service_auth_token = var.gitea_mirror_token } + +resource "gitea_repository" "clone" { + username = "lerentis" + name = "terraform-provider-gitea-clone" + description = "Clone of Terraform Provider" + mirror = false + migration_clone_address = "https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git" + migration_service = "gitea" + migration_service_auth_token = var.gitea_clone_token +} ``` diff --git a/examples/resources/gitea_repository/resource.tf b/examples/resources/gitea_repository/resource.tf index c6753ce..f18838b 100644 --- a/examples/resources/gitea_repository/resource.tf +++ b/examples/resources/gitea_repository/resource.tf @@ -16,3 +16,13 @@ resource "gitea_repository" "mirror" { migration_service = "gitea" migration_service_auth_token = var.gitea_mirror_token } + +resource "gitea_repository" "clone" { + username = "lerentis" + name = "terraform-provider-gitea-clone" + description = "Clone of Terraform Provider" + mirror = false + migration_clone_address = "https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git" + migration_service = "gitea" + migration_service_auth_token = var.gitea_clone_token +}