From 537d383552a532b80fbc7b4ce38848a98cb2230c Mon Sep 17 00:00:00 2001 From: simoncolincap Date: Thu, 16 Nov 2023 10:21:04 +0000 Subject: [PATCH] OPS-5460 Remove duplicate var. --- modules/ionos-datacenter/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ionos-datacenter/main.tf b/modules/ionos-datacenter/main.tf index 58b1e0f..712eebd 100644 --- a/modules/ionos-datacenter/main.tf +++ b/modules/ionos-datacenter/main.tf @@ -5,7 +5,7 @@ resource "ionoscloud_datacenter" "datacenter" { } resource "ionoscloud_share" "datacenter_permissions" { - for_each = { for share in var.var.datacenter_shares : share.group => share} + for_each = { for share in var.datacenter_shares : share.group => share} group_id = each.key resource_id = ionoscloud_datacenter.datacenter.id edit_privilege = each.value.edit