We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4483e4a commit 8e4ebb1Copy full SHA for 8e4ebb1
main.tf
@@ -49,7 +49,7 @@ resource "aws_s3_bucket" "this" {
49
}
50
51
logging {
52
- target_bucket = var.logging_target_bucket != "" ? var.logging_target_bucket : var.bucket
+ target_bucket = coalesce(var.logging_target_bucket, var.bucket)
53
target_prefix = var.logging_target_prefix
54
55
0 commit comments