From 9a7a4ec7e2eee3a9ac246e5da7876d78eab40c02 Mon Sep 17 00:00:00 2001 From: Thayne McCombs Date: Tue, 10 Jan 2023 11:41:14 -0700 Subject: [PATCH] Make deprecation inline for s3 website attributes Co-authored-by: Justin Retzolk <44710313+justinretzolk@users.noreply.github.com> --- website/docs/r/s3_bucket.html.markdown | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/website/docs/r/s3_bucket.html.markdown b/website/docs/r/s3_bucket.html.markdown index 92cc40af2e2..90ef3813ff1 100644 --- a/website/docs/r/s3_bucket.html.markdown +++ b/website/docs/r/s3_bucket.html.markdown @@ -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