lib/cfndsl/JSONable.rb in cfndsl-0.2.0 vs lib/cfndsl/JSONable.rb in cfndsl-0.2.1
- old
+ new
@@ -64,10 +64,10 @@
end
def FnNot(value)
##
# Equivalent to the Cloudformation template built in function Fn::Not
- Fn.new("Not", value)
+ Fn.new("Not", [value].flatten.compact)
end
def FnOr(array)
##
# Equivalent to the CloudFormation template built in function Fn::Or