added possibility to create migrations as well
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -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
|
||||
}
|
||||
|
@ -4,4 +4,8 @@ variable "gitea_url" {
|
||||
|
||||
variable "gitea_token" {
|
||||
|
||||
}
|
||||
|
||||
variable "gitea_mirror_token" {
|
||||
|
||||
}
|
Reference in New Issue
Block a user