From 32aaf6373a19aee8ce814b9acc22b72dbef9c65c Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 4 Sep 2022 14:09:14 +0200 Subject: [PATCH] chore: rename group labels to type --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, {}) )