func resourceDNSCreate(d *schema.ResourceData, m interface{}) error { err := resourceDNSRead(d, m) if err != nil { return err } d.SetId(d.Get("host").(string)) return nil }
func resourceServerCreate(d *schema.ResourceData, m interface{}) error { d.SetId(d.Get("address").(string)) return nil }