diff --git a/application-loadbalancer.cfndsl.rb b/application-loadbalancer.cfndsl.rb index 163331f..4bfdcfb 100644 --- a/application-loadbalancer.cfndsl.rb +++ b/application-loadbalancer.cfndsl.rb @@ -151,7 +151,7 @@ end end - Condition(:AssociateWebACL, FnNot(FnEquals(:WebACLArn, ''))) + Condition(:AssociateWebACL, FnNot(FnEquals(Ref(:WebACLArn), ''))) WAFv2_WebACLAssociation(:WebACLAssociation) { Condition :AssociateWebACL