provider aws: add more details to s3 error message
This commit is contained in:
parent
eff2fb9dee
commit
e1dd61ce92
|
@ -319,7 +319,7 @@ func resourceAwsS3BucketObjectDelete(d *schema.ResourceData, meta interface{}) e
|
||||||
}
|
}
|
||||||
_, err := s3conn.DeleteObject(&input)
|
_, err := s3conn.DeleteObject(&input)
|
||||||
if err != nil {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue