code: func (n *EvalImportStateVerify) Eval(ctx EvalContext) (interface{}, error) {
  	var diags tfdiags.Diagnostics
  
  	state := *n.State
  	if state.Value.IsNull() {
  		diags = diags.Append(tfdiags.Sourceless(
  			tfdiags.Error,
  			"Cannot import non-existent remote object",
  			fmt.Sprintf(
  				"While attempting to import an existing object to %s, the provider detected that no object exists with the given id. Only pre-existing objects can be imported; check that the id is correct and that it is associated with the provider's configured region or endpoint, or use \"terraform apply\" to create a new remote object for this resource.",
  				n.Addr.String(),
  			),
  		))
  	}
  
  	return nil, diags.ErrWithWarnings()
  }
docs: // TODO: test