Skip to content

Commit 158c60f

Browse files
committed
Fix null value in log_bucket
1 parent 1c3cd5b commit 158c60f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ resource "aws_imagebuilder_infrastructure_configuration" "this" {
169169
terminate_instance_on_failure = var.terminate_on_failure
170170

171171
dynamic "logging" {
172-
for_each = var.log_bucket != "" ? ["1"] : []
172+
for_each = var.log_bucket != null ? ["1"] : []
173173
content {
174174
s3_logs {
175175
s3_bucket_name = var.log_bucket

0 commit comments

Comments
 (0)