data "gitlab_group" "parent" { full_path = var.parent_group } data "gitlab_group" "token_scope_groups" { for_each = toset(var.token_scope_groups) full_path = each.key } data "gitlab_project" "token_scope_projects" { for_each = toset(var.token_scope_repositories) path_with_namespace = each.key }