unset website_endpoint, website_domain if website part is removed
This commit is contained in:
parent
f9c577aa2a
commit
6ab339b62d
|
@ -464,6 +464,9 @@ func resourceAwsS3BucketWebsiteDelete(s3conn *s3.S3, d *schema.ResourceData) err
|
||||||
return fmt.Errorf("Error deleting S3 website: %s", err)
|
return fmt.Errorf("Error deleting S3 website: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
d.Set("website_endpoint", "")
|
||||||
|
d.Set("website_domain", "")
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue