No 'bucket' attribute exported for aws_s3_bucket resource (#11015)

This commit is contained in:
Huy Nguyen 2017-01-03 17:52:49 -05:00 committed by Paul Stack
parent 3f8b25dbba
commit 306f0dd12c
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ data "aws_iam_policy_document" "b" {
}
resource "aws_s3_bucket_policy" "b" {
bucket = "${aws_s3_bucket.b.bucket}"
bucket = "${aws_s3_bucket.b.id}"
policy = "${data.aws_iam_policy_document.b.json}"
}
```