Skip to content

Commit a8141fd

Browse files
authored
fix: replace output to be either null or the actual value. (#92)
1 parent bfb3701 commit a8141fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ output "state_bucket" {
1515

1616
output "replica_bucket" {
1717
description = "The S3 bucket to replicate the state S3 bucket."
18-
value = aws_s3_bucket.replica.*
18+
value = try(aws_s3_bucket.replica[0], null)
1919
}
2020

2121
output "dynamodb_table" {

0 commit comments

Comments
 (0)