Skip to content

Commit

Permalink
fix: change organization optional rule
Browse files Browse the repository at this point in the history
  • Loading branch information
KoLiBer committed Sep 10, 2024
1 parent 367c71b commit 2cc6c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ resource "gitlab_group" "root" {
}

locals {
org_id = coalesce(var.id, gitlab_group.root[0].id)
org_id = try(gitlab_group.root[0].id, var.id)
}

0 comments on commit 2cc6c04

Please sign in to comment.