terraform-provider-gitea/examples/main.tf
Tobias Trabelsi f9d36151fc
All checks were successful
continuous-integration/drone/push Build is passing
added possibility to create migrations as well
2022-06-04 22:43:23 +02:00

19 lines
640 B
HCL

resource "gitea_repository" "test" {
username = "lerentis"
name = "test"
private = true
issue_labels = "Default"
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
}