diff --git a/website/docs/guides/version-4-upgrade.html.md b/website/docs/guides/version-4-upgrade.html.md index 1331d7c7627..ab43c6dbd12 100644 --- a/website/docs/guides/version-4-upgrade.html.md +++ b/website/docs/guides/version-4-upgrade.html.md @@ -878,6 +878,92 @@ The resources that were imported are shown above. These resources are now in your Terraform state and will henceforth be managed by Terraform. ``` +### `policy` Argument deprecation + +Switch your Terraform configuration to the `aws_s3_bucket_policy` resource instead. + +For example, given this previous configuration: + +```terraform +resource "aws_s3_bucket" "accesslogs_bucket" { + # ... other configuration ... + policy = <