Merge pull request #12122 from netjunki/which-bucket-had-a-tag-value-err
aws/provider: aws_s3_bucket doesn't report bucket name when encounter…
This commit is contained in:
commit
757b83aeeb
|
@ -450,7 +450,7 @@ func resourceAwsS3BucketCreate(d *schema.ResourceData, meta interface{}) error {
|
|||
func resourceAwsS3BucketUpdate(d *schema.ResourceData, meta interface{}) error {
|
||||
s3conn := meta.(*AWSClient).s3conn
|
||||
if err := setTagsS3(s3conn, d); err != nil {
|
||||
return err
|
||||
return fmt.Errorf("%q: %s", d.Get("bucket").(string), err)
|
||||
}
|
||||
|
||||
if d.HasChange("policy") {
|
||||
|
|
Loading…
Reference in New Issue