Skip to content

Commit e0e0685

Browse files
authored
Merge pull request #19 from Vermyndax/master
Fix null value in log_bucket
2 parents 1c3cd5b + 158c60f commit e0e0685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: main.tf

+1-1
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)