From ce416c7c8af0f1e972422dfdc969b75dd23697d5 Mon Sep 17 00:00:00 2001 From: Sczlog Date: Mon, 11 Nov 2024 13:45:46 +0800 Subject: [PATCH] bugfix: fix wrong assignment of hostId with folderId --- internal/provider/resource_vm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/resource_vm.go b/internal/provider/resource_vm.go index 4bdb36c..5a27349 100644 --- a/internal/provider/resource_vm.go +++ b/internal/provider/resource_vm.go @@ -1458,7 +1458,7 @@ func expandVmBasicConfig(d *schema.ResourceData) (*VmBasicConfig, error) { folderId, ok := d.GetOk("folder_id") if ok { folderId := folderId.(string) - basicConfig.HostId = &folderId + basicConfig.FolderId = &folderId } description, ok := d.GetOk("description") if ok {