provider aws: add more details to s3 error message

This commit is contained in:
RaGe 2017-03-15 01:41:53 -04:00
parent eff2fb9dee
commit e1dd61ce92
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ func resourceAwsS3BucketObjectDelete(d *schema.ResourceData, meta interface{}) e
}
_, err := s3conn.DeleteObject(&input)
if err != nil {
return fmt.Errorf("Error deleting S3 bucket object: %s", err)
return fmt.Errorf("Error deleting S3 bucket object: %s Bucket: %q Object: %q", err, bucket, key)
}
}