code: func Import(c context.Context) error {
  	cfg, err := fetch(c)
  	if err != nil {
  		return errors.Annotate(err, "failed to fetch configs").Err()
  	}
  
  	// Merge before validating. VMs may be invalid until referenced kinds are applied.
  	if err := merge(c, cfg); err != nil {
  		return errors.Annotate(err, "failed to merge kinds into configs").Err()
  	}
  
  	// Deref before validating. VMs may be invalid until metadata from file is imported.
  	if err := deref(c, cfg); err != nil {
  		return errors.Annotate(err, "failed to dereference files").Err()
  	}
  
  	if err := validate(c, cfg); err != nil {
  		return errors.Annotate(err, "invalid configs").Err()
  	}
  
  	if err := normalize(c, cfg); err != nil {
  		return errors.Annotate(err, "failed to normalize configs").Err()
  	}
  
  	if err := sync(c, cfg); err != nil {
  		return errors.Annotate(err, "failed to synchronize configs").Err()
  	}
  	return nil
  }
docs: // Import fetches and validates configs from the config service.