Skip to content

Commit

Permalink
Make deprecation inline for s3 website attributes
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Retzolk <44710313+justinretzolk@users.noreply.github.com>
  • Loading branch information
tmccombs and justinretzolk committed Jan 10, 2023
1 parent b8b56ed commit 9a7a4ec
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions website/docs/r/s3_bucket.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -721,12 +721,8 @@ In addition to all arguments above, the following attributes are exported:
* `hosted_zone_id` - The [Route 53 Hosted Zone ID](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_website_region_endpoints) for this bucket's region.
* `region` - The AWS region this bucket resides in.
* `tags_all` - A map of tags assigned to the resource, including those inherited from the provider [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuration-block).
* `website_endpoint` - The website endpoint, if the bucket is configured with a website. If not, this will be an empty string.
-> **NOTE:** The attribute `website_endpoint` is deprecated.
Use the same on attribute on the [`aws_s3_bucket_website_configuration`](s3_bucket_website_configuration.html.markdown) resource instead.
* `website_domain` - The domain of the website endpoint, if the bucket is configured with a website. If not, this will be an empty string. This is used to create Route 53 alias records.
-> **NOTE:** The attribute `website_domain` is deprecated.
Use the same on attribute on the [`aws_s3_bucket_website_configuration`](s3_bucket_website_configuration.html.markdown) resource instead.
* `website_endpoint` - (**Deprecated**) The website endpoint, if the bucket is configured with a website. If not, this will be an empty string. Use the resource [`aws_s3_bucket_website_configuration`](s3_bucket_website_configuration.html.markdown) instead.
* `website_domain` - (**Deprecated**) The domain of the website endpoint, if the bucket is configured with a website. If not, this will be an empty string. This is used to create Route 53 alias records. Use the resource [`aws_s3_bucket_website_configuration`](s3_bucket_website_configuration.html.markdown) instead.

## Timeouts

Expand Down

0 comments on commit 9a7a4ec

Please sign in to comment.