Skip to content

Commit

Permalink
removed joins from outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank0202 committed Jul 4, 2024
1 parent 4e0a358 commit 21ba4a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ output "bucket_id" {
}

output "bucket_arn" {
value = join("", aws_s3_bucket.this[*].arn)
value = format("%s", [for arn in aws_s3_bucket.this[*].arn : arn]...)
description = "Bucket ARN"
}

output "bucket_region" {
value = join("", aws_s3_bucket.this[*].region)
value = format("%s", [for region in aws_s3_bucket.this[*].region : region]...)
description = "Bucket region"
}

0 comments on commit 21ba4a0

Please sign in to comment.