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:
netjunki 2017-02-15 15:07:55 -08:00 committed by Paul Stack
parent ac30dec555
commit 508da1ec10
1 changed files with 1 additions and 1 deletions

View File

@ -980,7 +980,7 @@ func resourceAwsS3BucketDelete(d *schema.ResourceData, meta interface{}) error {
return resourceAwsS3BucketDelete(d, meta) 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 return nil
} }