Skip to content

Commit 0d8fc54

Browse files
fix: Include aws_s3_directory_bucket ID in s3_bucket_id output (#325)
Co-authored-by: Bryant Biggs <[email protected]>
1 parent 3bdca54 commit 0d8fc54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
output "s3_bucket_id" {
22
description = "The name of the bucket."
3-
value = try(aws_s3_bucket_policy.this[0].id, aws_s3_bucket.this[0].id, "")
3+
value = try(aws_s3_bucket.this[0].id, aws_s3_directory_bucket.this[0].bucket, "")
44
}
55

66
output "s3_bucket_arn" {

0 commit comments

Comments
 (0)