diff --git a/nsxt/policy_utils.go b/nsxt/policy_utils.go index 69e3a24bc..32fb6c910 100644 --- a/nsxt/policy_utils.go +++ b/nsxt/policy_utils.go @@ -442,7 +442,7 @@ func nsxtPolicyPathResourceImporterHelper(d *schema.ResourceData, m interface{}) importID := d.Id() err := validateImportPolicyPath(importID) if err != nil { - return []*schema.ResourceData{}, err + return []*schema.ResourceData{d}, err } pathSegs := strings.Split(importID, "/")