Skip to content

Commit

Permalink
Fix role policy for S3 bucket access
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom McLaughlin committed Apr 19, 2017
1 parent 992bc3e commit a8d9bbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws_iam_role.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data "template_file" "aws_iam_role_policy" {
template = "${file("${path.module}/aws_iam_role_policy.tpl")}"
vars {
sqs_queue_arn = "${aws_sqs_queue.sqs.arn}"
s3_resource = "${aws_sqs_queue.sqs.arn}/*"
s3_resource = "${aws_s3_bucket.bucket.arn}/*"
}
}

Expand Down

0 comments on commit a8d9bbd

Please sign in to comment.