#3 added team resource and fixed crash in public key state persisting
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-06-25 23:36:24 +02:00
parent 787a2b9636
commit 6e63797167
9 changed files with 334 additions and 4 deletions

View File

@ -46,3 +46,11 @@ resource "gitea_public_key" "test_user_key" {
read_only = true
username = gitea_user.test.username
}
resource "gitea_team" "test_team" {
name = "Devs"
organisation = gitea_org.test_org.name
description = "Devs of Test Org"
permission = "write"
}

View File

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

View File

@ -0,0 +1,10 @@
resource "gitea_org" "test_org" {
name = "test-org"
}
resource "gitea_team" "test_team" {
name = "Devs"
organisation = gitea_org.test_org.name
description = "Devs of Test Org"
permission = "write"
}