added possibility to create migrations as well
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-06-04 22:43:23 +02:00
parent 9c2fa1e3b9
commit f9d36151fc
4 changed files with 194 additions and 41 deletions

View File

@ -6,3 +6,13 @@ resource "gitea_repository" "test" {
license = "MIT"
gitignores = "Go"
}
resource "gitea_repository" "mirror" {
username = "lerentis"
name = "terraform-provider-gitea-mirror"
description = "Mirror of Terraform Provider"
mirror = true
migration_clone_addresse = "https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git"
migration_service = "gitea"
migration_service_auth_token = var.gitea_mirror_token
}

View File

@ -4,4 +4,8 @@ variable "gitea_url" {
variable "gitea_token" {
}
variable "gitea_mirror_token" {
}