provider/aws: output the task definition name when errors occur during refresh (#12609)

This commit is contained in:
Benjamin Lau 2017-03-12 07:03:36 -07:00 committed by Paul Stack
parent 20c88bcdf4
commit 6adc71a6d4
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ func dataSourceAwsEcsTaskDefinitionRead(d *schema.ResourceData, meta interface{}
})
if err != nil {
return err
return fmt.Errorf("Failed getting task definition %s %q", err, d.Get("task_definition").(string))
}
taskDefinition := *desc.TaskDefinition