fixed handling of vanished resources
Some checks reported errors
continuous-integration/drone/push Build was killed

added support for organisations
This commit is contained in:
2022-06-12 15:34:17 +02:00
parent 126547905a
commit 24357370bc
7 changed files with 258 additions and 7 deletions

View File

@ -16,3 +16,12 @@ resource "gitea_repository" "mirror" {
migration_service = "gitea"
migration_service_auth_token = var.gitea_mirror_token
}
resource "gitea_org" "test_org" {
name = "test-org"
}
resource "gitea_repository" "org_repo" {
username = gitea_org.test_org.name
name = "org-test-repo"
}

View File

@ -2,7 +2,7 @@ terraform {
required_providers {
gitea = {
source = "terraform.local/lerentis/gitea"
version = "0.1.0"
version = "0.3.0"
}
}
}