provider/aws: aws_ecs_service should output service name along with error (#12072)

This commit is contained in:
netjunki 2017-02-18 05:59:49 -08:00 committed by Paul Stack
parent fb016577a8
commit 70f1113918

View File

@ -240,7 +240,7 @@ func resourceAwsEcsServiceCreate(d *schema.ResourceData, meta interface{}) error
return nil
})
if err != nil {
return err
return fmt.Errorf("%s %q", err, d.Get("name").(string))
}
service := *out.Service