surface error with setting records on Route 53 record
This commit is contained in:
parent
29a5d9fc1a
commit
22e487c5d0
|
@ -186,7 +186,7 @@ func resourceAwsRoute53RecordRead(d *schema.ResourceData, meta interface{}) erro
|
||||||
|
|
||||||
err := d.Set("records", flattenResourceRecords(record.ResourceRecords))
|
err := d.Set("records", flattenResourceRecords(record.ResourceRecords))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("[DEBUG] Error setting records for: %s, error: %#v", en, err)
|
return fmt.Errorf("[DEBUG] Error setting records for: %s, error: %#v", en, err)
|
||||||
}
|
}
|
||||||
d.Set("ttl", record.TTL)
|
d.Set("ttl", record.TTL)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue