diff --git a/website/docs/r/s3_bucket_policy.html.markdown b/website/docs/r/s3_bucket_policy.html.markdown index 250ac043960..cb66fb71a54 100644 --- a/website/docs/r/s3_bucket_policy.html.markdown +++ b/website/docs/r/s3_bucket_policy.html.markdown @@ -12,20 +12,33 @@ Attaches a policy to an S3 bucket resource. ## Example Usage -### Using versioning +### Basic Usage ```hcl resource "aws_s3_bucket" "b" { - # Arguments -} - -data "aws_iam_policy_document" "b" { - # Policy statements + bucket = "my_tf_test_bucket" } resource "aws_s3_bucket_policy" "b" { bucket = "${aws_s3_bucket.b.id}" - policy = "${data.aws_iam_policy_document.b.json}" + policy =<