Skip to content

Commit a8d9bbd

Browse files
author
Tom McLaughlin
committed
Fix role policy for S3 bucket access
1 parent 992bc3e commit a8d9bbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_iam_role.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ data "template_file" "aws_iam_role_policy" {
1212
template = "${file("${path.module}/aws_iam_role_policy.tpl")}"
1313
vars {
1414
sqs_queue_arn = "${aws_sqs_queue.sqs.arn}"
15-
s3_resource = "${aws_sqs_queue.sqs.arn}/*"
15+
s3_resource = "${aws_s3_bucket.bucket.arn}/*"
1616
}
1717
}
1818

0 commit comments

Comments
 (0)