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.
2 parents 505d0ac + f9ce81a commit 9b167b2Copy full SHA for 9b167b2
main.tf
@@ -65,9 +65,9 @@ data "gitlab_group" "root_namespace" {
65
full_path = local.project_root_namespace
66
}
67
68
-# Data source for parent group when auto-detecting
+# Data source for parent group (used for project creation when not at root level, and for auto-detect mode)
69
data "gitlab_group" "parent_group" {
70
- count = local.auto_detect_parent ? 1 : 0
+ count = !var.operate_at_root_group_level && local.parent_group_path != "" ? 1 : 0
71
full_path = local.parent_group_path
72
73
0 commit comments