[cfn-lint] E1030: {'Fn::Length': {'Ref': 'VpcCIDRs'}} is not of type 'string'
However this errors started few days ago with an update of cfn-lint.
AWS Documentation states that Equals should accept any type of value and CommaDelimitedList is actually and array so Fn::Equals and Fn::Length should not complain.
If I ignore E1030 from cfn-lint the template deploys correctly with no issue.
CloudFormation Lint Version
1.5.0
What operating system are you using?
Mac, Linux
Describe the bug
I am trying to add a condition where it compare if a CommaDelimitedList parameters had two elements.
and I get the following error:
However this errors started few days ago with an update of cfn-lint.
AWS Documentation states that Equals should accept any type of value and CommaDelimitedList is actually and array so
Fn::Equals
andFn::Length
should not complain.If I ignore E1030 from cfn-lint the template deploys correctly with no issue.
Expected behavior
It should not complain
Reproduction template