Skip to content

Commit

Permalink
No-op but id is the actual exported attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
alkar committed Jul 25, 2018
1 parent 40a7a07 commit a3d72f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ data "aws_iam_policy_document" "policy" {
]

resources = [
"arn:aws:s3:::${aws_s3_bucket.bucket.bucket}",
"arn:aws:s3:::${aws_s3_bucket.bucket.bucket}/*",
"arn:aws:s3:::${aws_s3_bucket.bucket.id}",
"arn:aws:s3:::${aws_s3_bucket.bucket.id}/*",
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ output "bucket_arn" {

output "bucket_name" {
description = "bucket name"
value = "${aws_s3_bucket.bucket.bucket}"
value = "${aws_s3_bucket.bucket.id}"
}

0 comments on commit a3d72f3

Please sign in to comment.