Skip to content

Commit

Permalink
refa: added try function to outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
kfc-manager committed Mar 8, 2024
1 parent ec87de0 commit fd7a8e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
output "id" {
description = "ID of the S3 bucket."
value = aws_s3_bucket.main.id
value = try(aws_s3_bucket.main.id, null)
}

0 comments on commit fd7a8e8

Please sign in to comment.