diff --git a/internal/resources/metal/vlan/resource.go b/internal/resources/metal/vlan/resource.go index 9a95d8bd9..80d13d0c1 100644 --- a/internal/resources/metal/vlan/resource.go +++ b/internal/resources/metal/vlan/resource.go @@ -164,7 +164,7 @@ func (r *Resource) Delete(ctx context.Context, request resource.DeleteRequest, r vlan, resp, err := client.ProjectVirtualNetworks.Get( data.ID.ValueString(), - &packngo.GetOptions{Includes: []string{"instances", "meta_gateway"}}, + &packngo.GetOptions{Includes: []string{"instances", "virtual_networks", "meta_gateway"}}, ) if err != nil { if equinix_errors.IgnoreResponseErrors(equinix_errors.HttpForbidden, equinix_errors.HttpNotFound)(resp, err) != nil {