Skip to content

Commit

Permalink
fix aws_s3_bucket resource reference (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
dennybaa authored and aknysh committed Feb 8, 2019
1 parent 20cbb95 commit 6a04266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ module "s3_user" {
tags = "${var.tags}"
enabled = "${var.enabled == "true" && var.user_enabled == "true" ? "true" : "false"}"
s3_actions = ["${var.allowed_bucket_actions}"]
s3_resources = ["${aws_s3_bucket.default.arn}/*", "${aws_s3_bucket.default.arn}"]
s3_resources = ["${join("", aws_s3_bucket.default.*.arn)}/*", "${join("", aws_s3_bucket.default.*.arn)}"]
}

0 comments on commit 6a04266

Please sign in to comment.