terraform-provider-gitea/examples/resources/gitea_team/resource.tf
Tobias Trabelsi 6e63797167
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
#3 added team resource and fixed crash in public key state persisting
2022-06-25 23:36:24 +02:00

10 lines
209 B
HCL

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"
}