From d05516b9c52dbed85ca41615d81b771a0dbb912b Mon Sep 17 00:00:00 2001 From: absolutelightning Date: Mon, 9 Oct 2023 12:41:11 +0530 Subject: [PATCH] fix intentnios --- consul/resource_consul_config_entry_service_intentions.go | 1 + 1 file changed, 1 insertion(+) diff --git a/consul/resource_consul_config_entry_service_intentions.go b/consul/resource_consul_config_entry_service_intentions.go index e769323f..39fa0ff4 100644 --- a/consul/resource_consul_config_entry_service_intentions.go +++ b/consul/resource_consul_config_entry_service_intentions.go @@ -539,6 +539,7 @@ func (s *serviceIntentions) Write(ce consulapi.ConfigEntry, d *schema.ResourceDa permissions = append(permissions, permissionMap) } sourceMap["permissions"] = permissions + sources = append(sources, sourceMap) } sw.set("sources", sources)