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 2767fb2 commit c1bfc30Copy full SHA for c1bfc30
modules/hierarchy/system/main.tf
@@ -8,9 +8,9 @@ resource "opslevel_system" "this" {
8
owner = local.owner
9
}
10
11
-# TODO: This would be a really clean way to ensure service.parent is set via this module
12
-#resource "opslevel_service_relationship" "this" {
13
-# for_each = { for service in var.services : service => service }
14
-# system = opslevel_system.this.id
15
-# service = each.value
16
-#}
+resource "opslevel_service_relationship" "this" {
+ for_each = { for service in var.services : service => service }
+
+ system = opslevel_system.this.id
+ service = each.value
+}
0 commit comments