diff --git a/main.tf b/main.tf index 8798f07..a00feb9 100644 --- a/main.tf +++ b/main.tf @@ -70,7 +70,7 @@ resource "hcloud_server" "server" { for index, service in try(each.value.services, []) : "service_${index + 1}" => service }, { - for index, group in try(each.value.groups, []) : "group_${index + 1}" => group + for index, type in try(each.value.types, []) : "type_${index + 1}" => type }, try(each.value.labels, {}) )