We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e250a93 commit c6d7c59Copy full SHA for c6d7c59
main.tf
@@ -86,7 +86,7 @@ data "gitlab_project" "enabled_projects" {
86
resource "gitlab_project" "project" {
87
count = local.use_existing_project == 0 ? 1 : 0
88
name = var.gitlab_project_name
89
- namespace_id = data.gitlab_group.root_namespace.group_id
+ namespace_id = var.operate_at_root_group_level ? data.gitlab_group.root_namespace.group_id : data.gitlab_group.parent_group[0].group_id
90
}
91
92
resource "gitlab_cluster_agent" "this" {
0 commit comments