Skip to content

Commit ba78d69

Browse files
fix: remove join calls on bucket arn + id usage (#125)
1 parent de38556 commit ba78d69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqs_notifications.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ data "aws_iam_policy_document" "sqs_policy" {
3333
condition {
3434
test = "ArnEquals"
3535
variable = "aws:SourceArn"
36-
values = [join("", module.aws_s3_bucket.bucket_arn)]
36+
values = [module.aws_s3_bucket.bucket_arn]
3737
}
3838
condition {
3939
test = "StringEquals"
@@ -46,7 +46,7 @@ data "aws_iam_policy_document" "sqs_policy" {
4646

4747
resource "aws_s3_bucket_notification" "bucket_notification" {
4848
count = local.sqs_notifications_enabled ? 1 : 0
49-
bucket = join("", module.aws_s3_bucket.bucket_id)
49+
bucket = module.aws_s3_bucket.bucket_id
5050

5151
queue {
5252
queue_arn = join("", aws_sqs_queue.notifications[*].arn)

0 commit comments

Comments
 (0)