feat(provider): add teams data-source

Closes #13
This commit is contained in:
Julien Dessaux 2025-05-14 22:34:19 +02:00
parent b3d51bca03
commit c9449084fc
Signed by: adyxax
GPG key ID: F92E51B86E07177E
6 changed files with 232 additions and 0 deletions

View file

@ -0,0 +1,9 @@
data "forgejo_organizations" "main" {}
data "forgejo_teams" "main" {
for_each = toset([for org in data.forgejo_organizations.main.elements :
org.name
])
organization_name = each.key
}