provider/aws: add bucket name to delete error notification (#11952)
* provider/aws: add bucket name to delete error notification * cast Get; use %q instead of '%s'
This commit is contained in:
parent
ac30dec555
commit
508da1ec10
|
@ -980,7 +980,7 @@ func resourceAwsS3BucketDelete(d *schema.ResourceData, meta interface{}) error {
|
|||
return resourceAwsS3BucketDelete(d, meta)
|
||||
}
|
||||
}
|
||||
return fmt.Errorf("Error deleting S3 Bucket: %s", err)
|
||||
return fmt.Errorf("Error deleting S3 Bucket: %s %q", err, d.Get("bucket").(string))
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue