return error if failed to set tags on Route 53 zone
This commit is contained in:
parent
a4f72dc8ee
commit
815b79753a
|
@ -105,7 +105,10 @@ func resourceAwsRoute53ZoneRead(d *schema.ResourceData, meta interface{}) error
|
||||||
if resp.ResourceTagSet != nil {
|
if resp.ResourceTagSet != nil {
|
||||||
tags = resp.ResourceTagSet.Tags
|
tags = resp.ResourceTagSet.Tags
|
||||||
}
|
}
|
||||||
d.Set("tags", tagsToMapR53(tags))
|
|
||||||
|
if err := d.Set("tags", tagsToMapR53(tags)); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue