parent
b3d51bca03
commit
c9449084fc
6 changed files with 232 additions and 0 deletions
9
examples/data-sources/forgejo_teams/data-source.tf
Normal file
9
examples/data-sources/forgejo_teams/data-source.tf
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue