Skip to content

Commit 97e542b

Browse files
authored
fix: Added missing check for attach_access_log_delivery_policy for access logs logic (#252)
1 parent 7fbc003 commit 97e542b

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
@@ -12,7 +12,7 @@ locals {
1212

1313
create_bucket_acl = (var.acl != null && var.acl != "null") || length(local.grants) > 0
1414

15-
attach_policy = var.attach_require_latest_tls_policy || var.attach_elb_log_delivery_policy || var.attach_lb_log_delivery_policy || var.attach_deny_insecure_transport_policy || var.attach_inventory_destination_policy || var.attach_deny_incorrect_encryption_headers || var.attach_deny_incorrect_kms_key_sse || var.attach_deny_unencrypted_object_uploads || var.attach_policy
15+
attach_policy = var.attach_require_latest_tls_policy || var.attach_access_log_delivery_policy || var.attach_elb_log_delivery_policy || var.attach_lb_log_delivery_policy || var.attach_deny_insecure_transport_policy || var.attach_inventory_destination_policy || var.attach_deny_incorrect_encryption_headers || var.attach_deny_incorrect_kms_key_sse || var.attach_deny_unencrypted_object_uploads || var.attach_policy
1616

1717
# Variables with type `any` should be jsonencode()'d when value is coming from Terragrunt
1818
grants = try(jsondecode(var.grant), var.grant)

0 commit comments

Comments
 (0)